Răsfoiți Sursa

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 ani în urmă
părinte
comite
a4eaa6782f
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  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 {