PTM & CFG: use the correct path and error code according to the new FileSys policy

This commit is contained in:
wwylele 2016-10-20 09:43:43 +08:00
parent 0647f86649
commit 5c6e13a171
2 changed files with 6 additions and 5 deletions

View file

@ -128,7 +128,7 @@ void Init() {
Service::FS::OpenArchive(Service::FS::ArchiveIdCode::SharedExtSaveData, archive_path);
ASSERT_MSG(archive_result.Succeeded(), "Could not open the PTM SharedExtSaveData archive!");
FileSys::Path gamecoin_path("gamecoin.dat");
FileSys::Path gamecoin_path("/gamecoin.dat");
FileSys::Mode open_mode = {};
open_mode.write_flag.Assign(1);
open_mode.create_flag.Assign(1);