summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2017-02-17 10:58:42 -0800
committerYamaArashi <shadow962@live.com>2017-02-17 10:58:42 -0800
commit83ae14e2b9e2af7ce3eb01383fe3466357ac30b1 (patch)
tree884a6eea569244700e917fd517e054bada0866a7
parent73bf7791f8b3989d599c8e625a49ee7304979ee5 (diff)
use constant in WaitForVBlank()
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index cfc6ac6a9..a88c378eb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -386,7 +386,7 @@ static void WaitForVBlank(void)
{
gMain.intrCheck &= ~INTR_FLAG_VBLANK;
- while(!(gMain.intrCheck & 0x1))
+ while (!(gMain.intrCheck & INTR_FLAG_VBLANK))
;
}