Services/AM: Fix content writing on Windows (#3114)
This commit is contained in:
parent
fae52d3056
commit
689fe57430
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue