Changes

121 bytes added ,  02:07, 26 March 2018
no edit summary
Line 801: Line 801:  
= SaveDataSpaceId =
 
= SaveDataSpaceId =
 
Only values 0-2 are valid. This is the same as [[#ContentStorageId]]. Determines the storage where the savedata is stored.
 
Only values 0-2 are valid. This is the same as [[#ContentStorageId]]. Determines the storage where the savedata is stored.
 +
 +
= SaveDataType =
 +
{| class="wikitable" border="1"
 +
|-
 +
! Value || Name
 +
|-
 +
| 0 || SystemSaveData
 +
|-
 +
| 1 || SaveData
 +
|-
 +
| 3 || DeviceSaveData
 +
|}
    
= ContentPath =
 
= ContentPath =
Line 861: Line 873:  
|-
 
|-
 
| 0x20
 
| 0x20
| 0x8
+
| 0x1
| [[#SaveDataSpaceId]]. 0 for SystemSaveData. 1 for SaveData. 2 for DeviceSaveData(with official user-processes all other fields are 0 for DeviceSaveData).
+
| [[#SaveDataType]]
 +
|-
 +
| 0x21
 +
| 0x7
 +
| Padding
 
|-
 
|-
 
| 0x28
 
| 0x28
Line 878: Line 894:     
Total size is 0x40-bytes.
 
Total size is 0x40-bytes.
 +
 +
For DeviceSaveData, this struct is all-zero except for the [[#SaveDataType]] field.
    
=SaveCreate Struct=
 
=SaveCreate Struct=
Line 946: Line 964:  
| 0x9
 
| 0x9
 
| 0x1
 
| 0x1
| SaveDataType
+
| [[#SaveDataType]]
 
|-
 
|-
 
| 0xA
 
| 0xA