mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 12:04:16 +01: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