mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
remove sinful ld_addrs usage
This commit is contained in:
parent
dd4b9ec6e5
commit
dd2eb476dc
@ -81,17 +81,17 @@ INCLUDE_ASM(s32, "code_341d0_len_20d0", get_asset_offset);
|
||||
#define MAP(map) \
|
||||
.id = #map, \
|
||||
.config = &map##_config, \
|
||||
.dmaStart = (void*)LD_code_##map##_ROM_START, \
|
||||
.dmaEnd = (void*)LD_code_##map##_ROM_END, \
|
||||
.dmaDest = (void*)LD_code_##map##_VRAM \
|
||||
.dmaStart = &code_##map##_ROM_START, \
|
||||
.dmaEnd = &code_##map##_ROM_END, \
|
||||
.dmaDest = &code_##map##_VRAM \
|
||||
|
||||
// Should be removed once the data section containing .init and .config of all maps have been disassembled
|
||||
#define MAP_UNSPLIT(map, configVRAM) \
|
||||
.id = #map, \
|
||||
.config = (MapConfig*)(configVRAM), \
|
||||
.dmaStart = (void*)LD_code_##map##_ROM_START, \
|
||||
.dmaEnd = (void*)LD_code_##map##_ROM_END, \
|
||||
.dmaDest = (void*)LD_code_##map##_VRAM \
|
||||
.dmaStart = &code_##map##_ROM_START, \
|
||||
.dmaEnd = &code_##map##_ROM_END, \
|
||||
.dmaDest = &code_##map##_VRAM \
|
||||
|
||||
/// Toad Town
|
||||
static Map mac_maps[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user