Match overlay table

This commit is contained in:
Aetias
2023-10-21 17:30:34 +02:00
parent e1492b9c66
commit 45d00faf19
4 changed files with 147 additions and 10 deletions
+13
View File
@@ -64,6 +64,19 @@ typedef struct {
/* 4000 */
} Header;
typedef struct {
/* 00 */ uint32_t id;
/* 04 */ uint32_t baseAddr;
/* 08 */ uint32_t textSize;
/* 0c */ uint32_t bssSize;
/* 10 */ uint32_t sinitStart;
/* 14 */ uint32_t sinitEnd;
/* 18 */ uint32_t fileId;
/* 1c */ uint32_t compressedSize : 24;
/* 1f */ uint32_t isCompressed : 8;
/* 20 */
} OverlayEntry;
typedef struct {
/* 0000 */ uint16_t version;
/* 0002 */ uint16_t crc;