Ver Fonte

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 há 7 anos atrás
pai
commit
a4eaa6782f
1 ficheiros alterados com 3 adições e 1 exclusões
  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 {