diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c index 76ac3d6d9..d3ed31ff1 100644 --- a/src/main.c +++ b/src/main.c @@ -15,7 +15,7 @@ #include "sound.h" extern struct SoundInfo gSoundInfo; -extern u32 gUnknown_3004820; +extern bool32 gFlashMemoryPresent; extern u32 IntrMain[]; static void VBlankIntr(void); @@ -93,8 +93,8 @@ void AgbMain() gSoftResetDisabled = FALSE; - if (gUnknown_3004820 != 1) - SetMainCallback2(0); + if (gFlashMemoryPresent != TRUE) + SetMainCallback2(NULL); gUnknown_3001764 = 0; |