summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-02-23 18:17:24 +0100
committerLiam <byteslice@airmail.cc>2024-02-23 18:17:24 +0100
commit22b91afa6944b1c1242691e67abef891b0f5df42 (patch)
treeb195b12419d3cd1cbf838a003d06210b773ae7cb /src/core/file_sys
parentMerge pull request #13133 from liamwhite/libstdcxx-issue (diff)
downloadyuzu-22b91afa6944b1c1242691e67abef891b0f5df42.tar
yuzu-22b91afa6944b1c1242691e67abef891b0f5df42.tar.gz
yuzu-22b91afa6944b1c1242691e67abef891b0f5df42.tar.bz2
yuzu-22b91afa6944b1c1242691e67abef891b0f5df42.tar.lz
yuzu-22b91afa6944b1c1242691e67abef891b0f5df42.tar.xz
yuzu-22b91afa6944b1c1242691e67abef891b0f5df42.tar.zst
yuzu-22b91afa6944b1c1242691e67abef891b0f5df42.zip
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/fs_save_data_types.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/file_sys/fs_save_data_types.h b/src/core/file_sys/fs_save_data_types.h
index 86a83d217..493dba34f 100644
--- a/src/core/file_sys/fs_save_data_types.h
+++ b/src/core/file_sys/fs_save_data_types.h
@@ -164,6 +164,19 @@ static_assert(sizeof(SaveDataExtraData) == 0x200, "SaveDataExtraData has invalid
static_assert(std::is_trivially_copyable_v<SaveDataExtraData>,
"Data type must be trivially copyable.");
+struct SaveDataFilter {
+ bool use_program_id;
+ bool use_save_data_type;
+ bool use_user_id;
+ bool use_save_data_id;
+ bool use_index;
+ SaveDataRank rank;
+ SaveDataAttribute attribute;
+};
+static_assert(sizeof(SaveDataFilter) == 0x48, "SaveDataFilter has invalid size.");
+static_assert(std::is_trivially_copyable_v<SaveDataFilter>,
+ "Data type must be trivially copyable.");
+
struct HashSalt {
static constexpr size_t Size = 32;