Use r+b, not w+b

This commit is contained in:
Adubbz
2019-07-27 01:25:31 +10:00
parent 80d1ec57d1
commit 070e1012b8
2 changed files with 2 additions and 2 deletions

View File

@@ -586,7 +586,7 @@ namespace sts::ncm {
this->GetContentPath(content_path, content_id);
errno = 0;
f = fopen(content_path, "w+b");
f = fopen(content_path, "r+b");
ON_SCOPE_EXIT {
fclose(f);