Filesystem services: Difference between revisions

Lioncache (talk | contribs)
Update Save Struct and SaveDataInfo. Adds the precedence and save data index members. These are used in conjunction with save data filtering
No edit summary
Line 107: Line 107:
| 53 || [2.0.0+] OpenReadOnlySaveDataFileSystem
| 53 || [2.0.0+] OpenReadOnlySaveDataFileSystem
|-
|-
| 57 || [3.0.0+] ReadSaveDataFileSystemExtraDataBySaveDataSpaceId
| 57 || [3.0.0+] [[#ReadSaveDataFileSystemExtraDataBySaveDataSpaceId]]
|-
|-
| 58 || ReadSaveDataFileSystemExtraData
| 58 || [[#ReadSaveDataFileSystemExtraData]]
|-
|-
| 59 || [2.0.0+] WriteSaveDataFileSystemExtraData
| 59 || [2.0.0+] WriteSaveDataFileSystemExtraData
Line 550: Line 550:


Mounts savedata in the SYSTEM [[Flash_Filesystem|NAND]] partition.
Mounts savedata in the SYSTEM [[Flash_Filesystem|NAND]] partition.
== ReadSaveDataFileSystemExtraDataBySaveDataSpaceId ==
Takes an input u8 [[#SaveDataSpaceId]], an input u64 saveID, and a type-0x6 output buffer containing the [[#SaveDataFileSystemExtraData]].
== ReadSaveDataFileSystemExtraData ==
Takes an input u64 saveID and a type-0x6 output buffer containing the [[#SaveDataFileSystemExtraData]].


== OpenSaveDataInfoReader ==
== OpenSaveDataInfoReader ==
Line 1,446: Line 1,452:


This is a 0x60-byte struct.
This is a 0x60-byte struct.
= SaveDataFileSystemExtraData =
This is a 0x200-byte struct.


= InitialDataVersion2 =
= InitialDataVersion2 =