diff options
author | Subv <subv2112@gmail.com> | 2014-12-19 15:30:25 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2014-12-21 16:38:59 -0500 |
commit | 4cd21b43c1e28933898c4a2e829555efe22ff12e (patch) | |
tree | bff4da5013682afa238f56efdc6ffd0ff9e827bf /src/core/file_sys | |
parent | 462740278dfcf84b712f4cd615dd69cafa4373ee (diff) |
CFG: Refactored how the config file works.
It is now kept in memory as per 3dbrew, all updates happen on memory, then they can be saved using UpdateConfigNANDSavegame.
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/archive_systemsavedata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/archive_systemsavedata.cpp b/src/core/file_sys/archive_systemsavedata.cpp index 392c3cd3..b942864b 100644 --- a/src/core/file_sys/archive_systemsavedata.cpp +++ b/src/core/file_sys/archive_systemsavedata.cpp @@ -18,7 +18,7 @@ namespace FileSys { Archive_SystemSaveData::Archive_SystemSaveData(const std::string& mount_point, u64 save_id) : DiskArchive(Common::StringFromFormat("%s%08X/%08X/", mount_point.c_str(), - static_cast<u32>(save_id & 0xFFFFFFFF), static_cast<u32>((save_id >> 31) & 0xFFFFFFFF))) { + static_cast<u32>(save_id & 0xFFFFFFFF), static_cast<u32>((save_id >> 32) & 0xFFFFFFFF))) { LOG_INFO(Service_FS, "Directory %s set as SystemSaveData.", this->mount_point.c_str()); } |