diff --git a/Makefile b/Makefile index c35b888bb..40972ac52 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ TEXTQUEUE := CRYSTAL_OBJS := \ wram.o \ main.o \ +lib/mobile/main.o \ home.o \ audio.o \ maps_crystal.o \ diff --git a/lib/mobile/main.asm b/lib/mobile/main.asm index 758e79a93..0d390955f 100644 --- a/lib/mobile/main.asm +++ b/lib/mobile/main.asm @@ -1,5 +1,10 @@ ; A library included as part of the Mobile Adapter GB SDK. +INCLUDE "gbhw.asm" + + +SECTION "Main", ROMX + ; known jump sources: 110004 (44:4004), 111bdd (44:5bdd), 111bfd (44:5bfd), 111c0e (44:5c0e), 111c7d (44:5c7d), 111cbd (44:5cbd), 111cf4 (44:5cf4), 111d30 (44:5d30) Function110000: ; 110000 (44:4000) ld a, [hli] diff --git a/main.asm b/main.asm index 858c640c6..81db117f1 100644 --- a/main.asm +++ b/main.asm @@ -104690,10 +104690,6 @@ Function10ed51: ; 10ed51 INCLUDE "engine/title.asm" -SECTION "bank44", ROMX, BANK[$44] - -INCLUDE "lib/mobile/main.asm" - SECTION "bank45", ROMX, BANK[$45]