matched eeprom rodata...

This commit is contained in:
Henny022p 2021-02-26 23:32:02 +01:00
parent abf4ecce50
commit 8fee68e0a2
4 changed files with 7 additions and 9 deletions

View File

@ -10301,4 +10301,4 @@ gUnk_08DE7D18:: @ 08DE7D18
.incbin "baserom.gba", 0xDE7D18, 0x0000010
gUnk_08DE7D28:: @ 08DE7D28
.incbin "baserom.gba", 0xDE7D28, 0x0000018
.incbin "baserom.gba", 0xDE7D28, 0x000000C

View File

@ -1,6 +0,0 @@
.section .rodata
.align 2
gUnk_08DE7D58:: @ 08DE7D58
.incbin "baserom.gba", 0xDE7D58, 0x000004c

View File

@ -1034,7 +1034,6 @@ SECTIONS {
data/sprite_table.o(.rodata);
data/data_089FC6C4.o(.rodata);
src/code_080B1520.o(.rodata);
data/data_08DE7D58.o(.rodata);
} >rom
/* DWARF 2 sections */

View File

@ -7,11 +7,12 @@ typedef struct EEPROMConfig {
u8 address_width;
// u8 filler[3];
} EEPROMConfig;
const char EEPROM_V124[] = "EEPROM_V124";
extern const EEPROMConfig* gEEPROMConfig;
const EEPROMConfig gEEPROMConfig512 = { 0x200, 0x40, 0x300, 0x6 };
const EEPROMConfig gEEPROMConfig8k = { 0x2000, 0x400, 0x300, 0xe };
u16 sub_080B16AC(u16, u16*, u8);
u32 sub_080B1520(u16 unk_1) {
@ -200,6 +201,8 @@ u16 sub_080B180C(u16 unk_1, u16* unk_2) {
return ret;
}
const char EEPROM_NOWAIT[] = "EEPROM_NOWAIT";
u32 sub_080B1864(u16 unk_1, u16* unk_2) {
u8 i;
u32 ret;
@ -241,3 +244,5 @@ u32 sub_080B18DC(u16 unk_1, u16* unk_2) {
}
return ret;
}
const char thing[0x1c] = "\xff\xff\xff\xff";