mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 15:13:42 +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;
|
gMain.intrCheck &= ~INTR_FLAG_VBLANK;
|
||||||
|
|
||||||
while(!(gMain.intrCheck & 0x1))
|
while (!(gMain.intrCheck & INTR_FLAG_VBLANK))
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user