summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/filesystem/filesystem.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-12-07 02:29:36 +0100
committerZach Hilman <zachhilman@gmail.com>2018-12-27 06:18:00 +0100
commit2e6b67a079593e810dd7f27cd4388fef385b9c99 (patch)
tree2056356b919f7ae3dd3cc44d6a251ac70e4917d4 /src/core/hle/service/filesystem/filesystem.h
parentsavedata_factory: Partially implement IVFC save sizes using files (diff)
downloadyuzu-2e6b67a079593e810dd7f27cd4388fef385b9c99.tar
yuzu-2e6b67a079593e810dd7f27cd4388fef385b9c99.tar.gz
yuzu-2e6b67a079593e810dd7f27cd4388fef385b9c99.tar.bz2
yuzu-2e6b67a079593e810dd7f27cd4388fef385b9c99.tar.lz
yuzu-2e6b67a079593e810dd7f27cd4388fef385b9c99.tar.xz
yuzu-2e6b67a079593e810dd7f27cd4388fef385b9c99.tar.zst
yuzu-2e6b67a079593e810dd7f27cd4388fef385b9c99.zip
Diffstat (limited to 'src/core/hle/service/filesystem/filesystem.h')
-rw-r--r--src/core/hle/service/filesystem/filesystem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.h b/src/core/hle/service/filesystem/filesystem.h
index 965414be0..6fd5e7b23 100644
--- a/src/core/hle/service/filesystem/filesystem.h
+++ b/src/core/hle/service/filesystem/filesystem.h
@@ -21,9 +21,11 @@ class SDMCFactory;
enum class ContentRecordType : u8;
enum class Mode : u32;
enum class SaveDataSpaceId : u8;
+enum class SaveDataType : u8;
enum class StorageId : u8;
struct SaveDataDescriptor;
+struct SaveDataSize;
} // namespace FileSys
namespace Service {
@@ -48,6 +50,10 @@ ResultVal<FileSys::VirtualDir> OpenSaveData(FileSys::SaveDataSpaceId space,
ResultVal<FileSys::VirtualDir> OpenSaveDataSpace(FileSys::SaveDataSpaceId space);
ResultVal<FileSys::VirtualDir> OpenSDMC();
+FileSys::SaveDataSize ReadSaveDataSize(FileSys::SaveDataType type, u64 title_id, u128 user_id);
+void WriteSaveDataSize(FileSys::SaveDataType type, u64 title_id, u128 user_id,
+ FileSys::SaveDataSize new_value);
+
FileSys::RegisteredCacheUnion GetUnionContents();
FileSys::RegisteredCache* GetSystemNANDContents();