diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-07-10 03:52:15 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-07-12 04:54:42 +0200 |
commit | 5c5cf2f8e000d1bf4fc12ff20351aa60367cb563 (patch) | |
tree | 2b233263cff7c001506f660373e2364c8e702637 /src/core/file_sys | |
parent | Memory: Fix unmapping of pages (diff) | |
download | yuzu-5c5cf2f8e000d1bf4fc12ff20351aa60367cb563.tar yuzu-5c5cf2f8e000d1bf4fc12ff20351aa60367cb563.tar.gz yuzu-5c5cf2f8e000d1bf4fc12ff20351aa60367cb563.tar.bz2 yuzu-5c5cf2f8e000d1bf4fc12ff20351aa60367cb563.tar.lz yuzu-5c5cf2f8e000d1bf4fc12ff20351aa60367cb563.tar.xz yuzu-5c5cf2f8e000d1bf4fc12ff20351aa60367cb563.tar.zst yuzu-5c5cf2f8e000d1bf4fc12ff20351aa60367cb563.zip |
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/archive_savedata.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/archive_savedata.cpp b/src/core/file_sys/archive_savedata.cpp index 98823aec3..12876899f 100644 --- a/src/core/file_sys/archive_savedata.cpp +++ b/src/core/file_sys/archive_savedata.cpp @@ -37,7 +37,7 @@ ArchiveFactory_SaveData::ArchiveFactory_SaveData(const std::string& sdmc_directo } ResultVal<std::unique_ptr<ArchiveBackend>> ArchiveFactory_SaveData::Open(const Path& path) { - std::string concrete_mount_point = GetSaveDataPath(mount_point, Kernel::g_current_process->program_id); + std::string concrete_mount_point = GetSaveDataPath(mount_point, Kernel::g_current_process->codeset->program_id); if (!FileUtil::Exists(concrete_mount_point)) { // When a SaveData archive is created for the first time, it is not yet formatted // and the save file/directory structure expected by the game has not yet been initialized. @@ -52,7 +52,7 @@ ResultVal<std::unique_ptr<ArchiveBackend>> ArchiveFactory_SaveData::Open(const P } ResultCode ArchiveFactory_SaveData::Format(const Path& path) { - std::string concrete_mount_point = GetSaveDataPath(mount_point, Kernel::g_current_process->program_id); + std::string concrete_mount_point = GetSaveDataPath(mount_point, Kernel::g_current_process->codeset->program_id); FileUtil::DeleteDirRecursively(concrete_mount_point); FileUtil::CreateFullPath(concrete_mount_point); return RESULT_SUCCESS; |