diff options
author | Subv <subv2112@gmail.com> | 2016-01-16 23:01:01 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-03-20 20:52:26 +0100 |
commit | 3aa42627a3a35d8a4fb9acdcced24977d1f269cd (patch) | |
tree | 187e8911ae3b960c080f486bbf9fdbeeaea980bf /src/core/file_sys/archive_savedata.cpp | |
parent | HLE/FS: Fixed creating the config savefile when it doesn't exist. (diff) | |
download | yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.tar yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.tar.gz yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.tar.bz2 yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.tar.lz yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.tar.xz yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.tar.zst yuzu-3aa42627a3a35d8a4fb9acdcced24977d1f269cd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/file_sys/archive_savedata.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/file_sys/archive_savedata.cpp b/src/core/file_sys/archive_savedata.cpp index 82f49af5d..c2d32ed7e 100644 --- a/src/core/file_sys/archive_savedata.cpp +++ b/src/core/file_sys/archive_savedata.cpp @@ -26,14 +26,14 @@ static std::string GetSaveDataContainerPath(const std::string& sdmc_directory) { } static std::string GetSaveDataPath(const std::string& mount_location, u64 program_id) { - u32 high = program_id >> 32; - u32 low = program_id & 0xFFFFFFFF; + u32 high = (u32)(program_id >> 32); + u32 low = (u32)(program_id & 0xFFFFFFFF); return Common::StringFromFormat("%s%08x/%08x/data/00000001/", mount_location.c_str(), high, low); } static std::string GetSaveDataMetadataPath(const std::string& mount_location, u64 program_id) { - u32 high = program_id >> 32; - u32 low = program_id & 0xFFFFFFFF; + u32 high = (u32)(program_id >> 32); + u32 low = (u32)(program_id & 0xFFFFFFFF); return Common::StringFromFormat("%s%08x/%08x/data/00000001.metadata", mount_location.c_str(), high, low); } |