use constant in WaitForVBlank()

This commit is contained in:
YamaArashi 2017-02-17 10:58:42 -08:00
parent 73bf7791f8
commit 83ae14e2b9

View File

@ -386,7 +386,7 @@ static void WaitForVBlank(void)
{
gMain.intrCheck &= ~INTR_FLAG_VBLANK;
while(!(gMain.intrCheck & 0x1))
while (!(gMain.intrCheck & INTR_FLAG_VBLANK))
;
}