make it build

This commit is contained in:
YamaArashi
2016-09-03 02:20:49 -07:00
parent a11fe6f83b
commit 8866801ef9
9 changed files with 5065 additions and 21 deletions

View File

@@ -63,7 +63,7 @@ void SetGpuReg(u8 regOffset, u16 value)
u16 vcount;
GPU_REG_BUF(regOffset) = value;
vcount = REG_VCOUNT;
vcount = REG_VCOUNT & 0xFF;
if ((vcount >= 161 && vcount <= 225)
|| (REG_DISPCNT & DISPCNT_FORCED_BLANK)) {