mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
use constant in WaitForVBlank()
This commit is contained in:
parent
73bf7791f8
commit
83ae14e2b9
@ -386,7 +386,7 @@ static void WaitForVBlank(void)
|
||||
{
|
||||
gMain.intrCheck &= ~INTR_FLAG_VBLANK;
|
||||
|
||||
while(!(gMain.intrCheck & 0x1))
|
||||
while (!(gMain.intrCheck & INTR_FLAG_VBLANK))
|
||||
;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user