diff options
author | YamaArashi <shadow962@live.com> | 2017-02-19 11:54:15 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2017-02-19 11:54:15 -0800 |
commit | 0d2125cebb22334265b79d7d9295552507d2c78b (patch) | |
tree | bb725e06bf0220098364a86a850c7b8ebaae87b2 /src/main.c | |
parent | c0afef324418f190cfbc6d6b3447e660479b4aeb (diff) |
gFlashMemoryPresent variable
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; |