Parcourir la 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 il y a 7 ans
Parent
commit
a4eaa6782f
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  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 {