Line 3:
Line 3:
The file is structured like this:
The file is structured like this:
* Header
* Header
+
* Extended Header, if the header size field is greater than 32.
* Code relocation table header
* Code relocation table header
* Rodata relocation table header
* Rodata relocation table header
Line 12:
Line 13:
* Rodata relocation table
* Rodata relocation table
* Data relocation table
* Data relocation table
+
* [[SMDH]] data, if there is an extended header.
+
* [[RomFS]] data, if there is an extended header.
== Header ==
== Header ==
Line 55:
Line 58:
| 4
| 4
| Bss segment size
| Bss segment size
+
|}
+
+
== Extended Header ==
+
{| class="wikitable" border="1"
+
|-
+
! Offset
+
! Size
+
! Description
+
|-
+
| 0x0
+
| 4
+
| [[SMDH]] offset.
+
|-
+
| 0x4
+
| 4
+
| [[SMDH]] size.
+
|-
+
| 0x8
+
| 4
+
| [[RomFS]] offset.
|}
|}