diff options
author | Subv <subv2112@gmail.com> | 2015-01-04 02:46:05 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-01-04 02:46:05 +0100 |
commit | 71a063f45cba961ee07730f4ab79f2bcc3ff9b5b (patch) | |
tree | 3c134bc71fd404b33a6d6fcaed743457d7fb7e66 /src/core/hle/service/ptm_u.cpp | |
parent | SaveDataCheck: Move the files to nand/title (diff) | |
download | yuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.tar yuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.tar.gz yuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.tar.bz2 yuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.tar.lz yuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.tar.xz yuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.tar.zst yuzu-71a063f45cba961ee07730f4ab79f2bcc3ff9b5b.zip |
Diffstat (limited to '')
-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 c900c90f8..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_SHAREDEXTSAVEDATA); - 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); |