Savegames: Difference between revisions

Shchmue (talk | contribs)
Extra data: prior save struct link fix pointed to wrong struct
 
(3 intermediate revisions by 2 users not shown)
Line 67: Line 67:


== AES CMAC header ==
== AES CMAC header ==
This is internally referred to as MasterHeaderMac.
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 432: Line 435:
| 0x00
| 0x00
| 0x40
| 0x40
| [[Filesystem_services#Save_Struct|Save Struct]]
| [[Filesystem_services#SaveDataAttribute|SaveDataAttribute]]
|-
|-
| 0x40
| 0x40
Line 661: Line 664:


FAT entry 0 is reserved for the list of free blocks. Because of this, the FAT entry for block n is found at FAT index n+1. The indexes stored in FAT entries refer the index of the next/previous FAT entry in the chain, not the index of the next/previous block.
FAT entry 0 is reserved for the list of free blocks. Because of this, the FAT entry for block n is found at FAT index n+1. The indexes stored in FAT entries refer the index of the next/previous FAT entry in the chain, not the index of the next/previous block.
The FAT header is internally called AllocationTableControlArea. The FAT itself is called AllocationTableMeta. The actual save FS data is called AllocationTableData.


=== File allocation table header ===
=== File allocation table header ===