Line 389:
Line 389:
| 0x3
| 0x3
| Setting bit0 here enables overriding the FIRM_* fields in [[Configuration_Memory]].
| Setting bit0 here enables overriding the FIRM_* fields in [[Configuration_Memory]].
+
|}
+
+
[[Config Savegame|Config]] struct for booting LGY FIRMs from offset 0xD70:
+
{| class="wikitable" border="1"
+
|-
+
! OFFSET
+
! SIZE
+
! DESCRIPTION
+
|-
+
| 0x0
+
| 0x1
+
| Config block 0x30000.
+
|-
+
| 0x1
+
| 0x1
+
| Config block 0x70001.
+
|-
+
| 0x2
+
| 0x1
+
| System language (Config block 0xA0002).
+
|-
+
| 0x3
+
| 0x1
+
| [[Cfg:SecureInfoGetRegion|Region from SecureInfo]].
+
|-
+
| 0x4
+
| 0xF
+
| [[CfgS:SecureInfoGetSerialNo|Serial number from SecureInfo]].
+
|-
+
| 0x13
+
| 0x1
+
| Config block 0x100002.
+
|-
+
| 0x14
+
| 0x10
+
| Config block 0x100003.
+
|-
+
| 0x24
+
| 0x2
+
| Config block 0x100000.
+
|-
+
| 0x26
+
| 0x1
+
| Cleared to zero.
+
|-
+
| 0x27
+
| 0x1
+
| Cleared to zero.
+
|-
+
| 0x28
+
| 0x94
+
| Config block 0x100001.
+
|-
+
| 0xBC
+
| 0x2
+
| Config block 0x50000.
+
|-
+
| 0xBE
+
| 0x2
+
| Config block 0x50001.
+
|-
+
| 0xC0
+
| 0x38
+
| Config block 0x50002.
+
|-
+
| 0xF8
+
| 0x20
+
| Config block 0x50004.
+
|-
+
| 0x118
+
| 0x134
+
| Config block 0x20000.
+
|-
+
| 0x24C
+
| 0x10
+
| Config block 0x40000.
+
|-
+
| 0x25C
+
| 0x1C
+
| Config block 0x40001.
+
|-
+
| 0x278
+
| 0x4
+
| Cleared to zero.
+
|-
+
| 0x27C
+
| 0x4
+
| Cleared to zero.
+
|-
+
| 0x280
+
| 0x8
+
| Config block 0x30001.
+
|-
+
| 0x288
+
| 0x2
+
| CRC16 over the above fields from offset 0x0, size 0x288.
+
|-
+
| 0x28A
+
| 0x2
+
| Cleared to zero.
+
|-
+
| 0x28C
+
| 0x4
+
| Value 0x288 (size).
|}
|}