summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2014-12-19 21:30:25 +0100
committerSubv <subv2112@gmail.com>2014-12-21 22:38:59 +0100
commit4cd21b43c1e28933898c4a2e829555efe22ff12e (patch)
treebff4da5013682afa238f56efdc6ffd0ff9e827bf /src/core/file_sys
parentCFG:U: Add some data to the 0x00050005 config block. (diff)
downloadyuzu-4cd21b43c1e28933898c4a2e829555efe22ff12e.tar
yuzu-4cd21b43c1e28933898c4a2e829555efe22ff12e.tar.gz
yuzu-4cd21b43c1e28933898c4a2e829555efe22ff12e.tar.bz2
yuzu-4cd21b43c1e28933898c4a2e829555efe22ff12e.tar.lz
yuzu-4cd21b43c1e28933898c4a2e829555efe22ff12e.tar.xz
yuzu-4cd21b43c1e28933898c4a2e829555efe22ff12e.tar.zst
yuzu-4cd21b43c1e28933898c4a2e829555efe22ff12e.zip
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/archive_systemsavedata.cpp2
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 392c3cd39..b942864b2 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());
}