diff --git a/build.bat b/build.bat index aece78f..dff22a3 100644 --- a/build.bat +++ b/build.bat @@ -2,9 +2,10 @@ cd gba make clean make cd .. +mkdir data mv -f gba/gba_mb.gba data/gba_mb.gba make -f Makefile.gc clean make -f Makefile.gc make -f Makefile.wii clean make -f Makefile.wii -pause \ No newline at end of file +pause diff --git a/source/main.c b/source/main.c index 7fd5683..f2c11f8 100644 --- a/source/main.c +++ b/source/main.c @@ -20,8 +20,7 @@ //safe si transfer delay in between calls #define SI_TRANS_DELAY 50 -extern u8 gba_mb_gba[]; -extern u32 gba_mb_gba_size; +#include "gba_mb_gba.h" void printmain() {