Services/AM: Fix content writing on Windows (#3114)

This commit is contained in:
Max Thomas 2017-11-15 01:26:16 -08:00 committed by B3n30
parent fae52d3056
commit 689fe57430

View file

@ -149,7 +149,7 @@ public:
FileSys::TitleMetadata tmd = container.GetTitleMetadata();
FileUtil::IOFile file(
GetTitleContentPath(media_type, tmd.GetTitleID(), i, is_update),
content_written[i] ? "a" : "w");
content_written[i] ? "ab" : "wb");
if (!file.IsOpen())
return FileSys::ERROR_INSUFFICIENT_SPACE;