Filesystem services: Difference between revisions
No edit summary |
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 | ||
| | | 0x1 | ||
| [[# | | [[#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 | ||