summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-12-07 14:47:26 +0100
committerZach Hilman <zachhilman@gmail.com>2018-12-07 14:47:32 +0100
commitfcfbae88e9b6707fadcf2e7b7049057329d43790 (patch)
tree9dcc06c622a7eec58165d29580b58379e473c11a /src/core
parentsavedata_factory: Delete TemporaryStorage on startup (diff)
downloadyuzu-fcfbae88e9b6707fadcf2e7b7049057329d43790.tar
yuzu-fcfbae88e9b6707fadcf2e7b7049057329d43790.tar.gz
yuzu-fcfbae88e9b6707fadcf2e7b7049057329d43790.tar.bz2
yuzu-fcfbae88e9b6707fadcf2e7b7049057329d43790.tar.lz
yuzu-fcfbae88e9b6707fadcf2e7b7049057329d43790.tar.xz
yuzu-fcfbae88e9b6707fadcf2e7b7049057329d43790.tar.zst
yuzu-fcfbae88e9b6707fadcf2e7b7049057329d43790.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/file_sys/savedata_factory.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/file_sys/savedata_factory.cpp b/src/core/file_sys/savedata_factory.cpp
index 37566e2e7..bd50fedc7 100644
--- a/src/core/file_sys/savedata_factory.cpp
+++ b/src/core/file_sys/savedata_factory.cpp
@@ -124,6 +124,8 @@ std::string SaveDataFactory::GetFullPath(SaveDataSpaceId space, SaveDataType typ
case SaveDataType::TemporaryStorage:
return fmt::format("{}{:016X}/{:016X}{:016X}/{:016X}", out, 0, user_id[1], user_id[0],
title_id);
+ case SaveDataType::CacheStorage:
+ return fmt::format("{}save/cache/{:016X}", out, title_id);
default:
ASSERT_MSG(false, "Unrecognized SaveDataType: {:02X}", static_cast<u8>(type));
}