diff options
| author | bunnei <bunneidev@gmail.com> | 2015-01-06 20:13:56 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2015-01-06 20:13:56 -0500 |
| commit | 088863c9219df896b316244ad05452ef05b15ea4 (patch) | |
| tree | 66892c6362d7aae93b9349285234762e4e6ee189 /src/core/hle/service/ptm_u.cpp | |
| parent | 0bf5a0bfc47cebb64dc2740c475a631d6fb13a2f (diff) | |
| parent | 8fbe5d2dcaa0f9330120210f5e009cb387cb4a0f (diff) | |
Merge pull request #376 from Subv/arc_reorder
Archives: Change the folder layout of some archives.
Diffstat (limited to 'src/core/hle/service/ptm_u.cpp')
| -rw-r--r-- | src/core/hle/service/ptm_u.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/ptm_u.cpp b/src/core/hle/service/ptm_u.cpp index 9cc700c46..fd79cd8ab 100644 --- a/src/core/hle/service/ptm_u.cpp +++ b/src/core/hle/service/ptm_u.cpp @@ -142,10 +142,10 @@ Interface::Interface() { Register(FunctionTable, ARRAY_SIZE(FunctionTable)); // Create the SharedExtSaveData archive 0xF000000B and the gamecoin.dat file // TODO(Subv): In the future we should use the FS service to query this archive - std::string extsavedata_directory = FileUtil::GetUserPath(D_EXTSAVEDATA); - ptm_shared_extsavedata = Common::make_unique<FileSys::Archive_ExtSaveData>(extsavedata_directory); + std::string nand_directory = FileUtil::GetUserPath(D_NAND_IDX); + ptm_shared_extsavedata = Common::make_unique<FileSys::Archive_ExtSaveData>(nand_directory, true); if (!ptm_shared_extsavedata->Initialize()) { - LOG_CRITICAL(Service_PTM, "Could not initialize ExtSaveData archive for the PTM:U service"); + LOG_CRITICAL(Service_PTM, "Could not initialize SharedExtSaveData archive for the PTM:U service"); return; } FileSys::Path archive_path(ptm_shared_extdata_id); |
