summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/savedata_factory.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-04-23 20:38:18 +0200
committerZach Hilman <zachhilman@gmail.com>2019-09-21 22:50:39 +0200
commita49169e81906d230fd6bfc7546acc6f763f4c321 (patch)
treeeceaf472b9e52755b333f0945d14c4bddc1b741c /src/core/file_sys/savedata_factory.h
parentyuzu: Add UI to manage filesystem paths and sizes (diff)
downloadyuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar
yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.gz
yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.bz2
yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.lz
yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.xz
yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.zst
yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.zip
Diffstat (limited to 'src/core/file_sys/savedata_factory.h')
-rw-r--r--src/core/file_sys/savedata_factory.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/file_sys/savedata_factory.h b/src/core/file_sys/savedata_factory.h
index 738038ee0..991e57aa1 100644
--- a/src/core/file_sys/savedata_factory.h
+++ b/src/core/file_sys/savedata_factory.h
@@ -64,8 +64,8 @@ public:
explicit SaveDataFactory(VirtualDir dir);
~SaveDataFactory();
- ResultVal<VirtualDir> Create(SaveDataSpaceId space, const SaveDataDescriptor& meta);
- ResultVal<VirtualDir> Open(SaveDataSpaceId space, const SaveDataDescriptor& meta);
+ ResultVal<VirtualDir> Create(SaveDataSpaceId space, const SaveDataDescriptor& meta) const;
+ ResultVal<VirtualDir> Open(SaveDataSpaceId space, const SaveDataDescriptor& meta) const;
VirtualDir GetSaveDataSpaceDirectory(SaveDataSpaceId space) const;
@@ -74,7 +74,8 @@ public:
u128 user_id, u64 save_id);
SaveDataSize ReadSaveDataSize(SaveDataType type, u64 title_id, u128 user_id) const;
- void WriteSaveDataSize(SaveDataType type, u64 title_id, u128 user_id, SaveDataSize new_value);
+ void WriteSaveDataSize(SaveDataType type, u64 title_id, u128 user_id,
+ SaveDataSize new_value) const;
private:
VirtualDir dir;