mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-19 17:21:06 +00:00
Services/AM: Fix content writing on Windows (#3114)
This commit is contained in:
parent
fae52d3056
commit
689fe57430
@ -149,7 +149,7 @@ public:
|
|||||||
FileSys::TitleMetadata tmd = container.GetTitleMetadata();
|
FileSys::TitleMetadata tmd = container.GetTitleMetadata();
|
||||||
FileUtil::IOFile file(
|
FileUtil::IOFile file(
|
||||||
GetTitleContentPath(media_type, tmd.GetTitleID(), i, is_update),
|
GetTitleContentPath(media_type, tmd.GetTitleID(), i, is_update),
|
||||||
content_written[i] ? "a" : "w");
|
content_written[i] ? "ab" : "wb");
|
||||||
|
|
||||||
if (!file.IsOpen())
|
if (!file.IsOpen())
|
||||||
return FileSys::ERROR_INSUFFICIENT_SPACE;
|
return FileSys::ERROR_INSUFFICIENT_SPACE;
|
||||||
|
Loading…
Reference in New Issue
Block a user