Fix REG_OFFSET_WININ/OUT mislabeling

This commit is contained in:
Sierraffinity 2020-05-25 02:19:45 -07:00 committed by huderlem
parent 42747663b5
commit ec92241d8f

View File

@ -2828,8 +2828,12 @@ static bool8 sub_811BFA4(void)
else
{
sub_811DE5C(0, 0, 0, 0);
SetGpuReg(REG_OFFSET_WININ, WIN_RANGE(0, 63));
SetGpuReg(REG_OFFSET_WINOUT, WIN_RANGE(0, 59));
SetGpuReg(REG_OFFSET_WININ, WININ_WIN0_BG_ALL | WININ_WIN0_OBJ | WININ_WIN0_CLR);
SetGpuReg(REG_OFFSET_WINOUT, WINOUT_WIN01_BG0
| WINOUT_WIN01_BG1
| WINOUT_WIN01_BG3
| WINOUT_WIN01_OBJ
| WINOUT_WIN01_CLR);
ShowBg(3);
ShowBg(1);
ShowBg(2);