Browse Source

file_sys/save_data_factory: Update SaveDataSpaceId enum

Amends it with missing values deduced from RE (ProperSystem being from
SwitchBrew for naming)

(SdCardUser wasn't that difficult to discern given it's used alongside
SdCardSystem when creating the save data indexer, based off the usage of
the string "saveDataIxrDbSd" nearby).
Lioncash 7 năm trước cách đây
mục cha
commit
a4eaa6782f
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/core/file_sys/savedata_factory.h

+ 3 - 1
src/core/file_sys/savedata_factory.h

@@ -17,8 +17,10 @@ namespace FileSys {
 enum class SaveDataSpaceId : u8 {
     NandSystem = 0,
     NandUser = 1,
-    SdCard = 2,
+    SdCardSystem = 2,
     TemporaryStorage = 3,
+    SdCardUser = 4,
+    ProperSystem = 100,
 };
 
 enum class SaveDataType : u8 {