summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-05-11 23:29:33 +0200
committerLiam <byteslice@airmail.cc>2023-05-11 23:30:30 +0200
commit351079a4baf94290c32aa132a6e963b16636425f (patch)
tree65c9f9018a9cb6985422037e3a660a0fe9a45557 /src/core
parentam: stub CreateCacheStorage (diff)
downloadyuzu-351079a4baf94290c32aa132a6e963b16636425f.tar
yuzu-351079a4baf94290c32aa132a6e963b16636425f.tar.gz
yuzu-351079a4baf94290c32aa132a6e963b16636425f.tar.bz2
yuzu-351079a4baf94290c32aa132a6e963b16636425f.tar.lz
yuzu-351079a4baf94290c32aa132a6e963b16636425f.tar.xz
yuzu-351079a4baf94290c32aa132a6e963b16636425f.tar.zst
yuzu-351079a4baf94290c32aa132a6e963b16636425f.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/file_sys/savedata_factory.cpp4
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/file_sys/savedata_factory.cpp b/src/core/file_sys/savedata_factory.cpp
index 769065b6f..70b36f170 100644
--- a/src/core/file_sys/savedata_factory.cpp
+++ b/src/core/file_sys/savedata_factory.cpp
@@ -82,9 +82,9 @@ std::string GetFutureSaveDataPath(SaveDataSpaceId space_id, SaveDataType type, u
// Only detect account/device saves from the future location.
switch (type) {
case SaveDataType::SaveData:
- return fmt::format("{}/account/{}/{:016X}/1", space_id_path, uuid.RawString(), title_id);
+ return fmt::format("{}/account/{}/{:016X}/0", space_id_path, uuid.RawString(), title_id);
case SaveDataType::DeviceSaveData:
- return fmt::format("{}/device/{:016X}/1", space_id_path, title_id);
+ return fmt::format("{}/device/{:016X}/0", space_id_path, title_id);
default:
return "";
}
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp
index 3a142f5d0..f73a864c3 100644
--- a/src/core/hle/service/filesystem/fsp_srv.cpp
+++ b/src/core/hle/service/filesystem/fsp_srv.cpp
@@ -310,8 +310,8 @@ private:
class IFileSystem final : public ServiceFramework<IFileSystem> {
public:
explicit IFileSystem(Core::System& system_, FileSys::VirtualDir backend_, SizeGetter size_)
- : ServiceFramework{system_, "IFileSystem"}, backend{std::move(backend_)},
- size{std::move(size_)} {
+ : ServiceFramework{system_, "IFileSystem"}, backend{std::move(backend_)}, size{std::move(
+ size_)} {
static const FunctionInfo functions[] = {
{0, &IFileSystem::CreateFile, "CreateFile"},
{1, &IFileSystem::DeleteFile, "DeleteFile"},