diff options
author | Subv <subv2112@gmail.com> | 2015-01-04 01:01:46 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-01-04 01:01:46 +0100 |
commit | cfd7b219f6ad9116057fbe64bbb5dfd0afbbe29c (patch) | |
tree | a34b21bc9821ddddc4c94d50343a5a3092a4e6a9 /src/core | |
parent | Archives: Change the folder layout of some archives. (diff) | |
download | yuzu-cfd7b219f6ad9116057fbe64bbb5dfd0afbbe29c.tar yuzu-cfd7b219f6ad9116057fbe64bbb5dfd0afbbe29c.tar.gz yuzu-cfd7b219f6ad9116057fbe64bbb5dfd0afbbe29c.tar.bz2 yuzu-cfd7b219f6ad9116057fbe64bbb5dfd0afbbe29c.tar.lz yuzu-cfd7b219f6ad9116057fbe64bbb5dfd0afbbe29c.tar.xz yuzu-cfd7b219f6ad9116057fbe64bbb5dfd0afbbe29c.tar.zst yuzu-cfd7b219f6ad9116057fbe64bbb5dfd0afbbe29c.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/file_sys/archive_savedatacheck.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/file_sys/archive_savedatacheck.cpp b/src/core/file_sys/archive_savedatacheck.cpp index 233158a0c..1b1e01c6e 100644 --- a/src/core/file_sys/archive_savedatacheck.cpp +++ b/src/core/file_sys/archive_savedatacheck.cpp @@ -23,7 +23,8 @@ ResultCode Archive_SaveDataCheck::Open(const Path& path) { // this archive again with a different path, will corrupt the previously open file. auto vec = path.AsBinary(); const u32* data = reinterpret_cast<u32*>(vec.data()); - std::string file_path = Common::StringFromFormat("%s%08x%08x.bin", mount_point.c_str(), data[1], data[0]); + std::string file_path = Common::StringFromFormat("%s%08x/%08x/content/00000000.app.romfs", + mount_point.c_str(), data[1], data[0]); FileUtil::IOFile file(file_path, "rb"); std::fill(raw_data.begin(), raw_data.end(), 0); |