diff options
author | Subv <subv2112@gmail.com> | 2014-12-19 21:30:25 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2014-12-21 22:38:59 +0100 |
commit | 4cd21b43c1e28933898c4a2e829555efe22ff12e (patch) | |
tree | bff4da5013682afa238f56efdc6ffd0ff9e827bf /src/core/file_sys | |
parent | CFG:U: Add some data to the 0x00050005 config block. (diff) | |
download | yuzu-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.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 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()); } |