summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
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;