More DISPLAY_WIDTH/HEIGHT constant usage
This commit is contained in:
@@ -481,10 +481,10 @@ static void SetDigScanlineEffect(u8 useBG1, s16 y, s16 endY)
|
||||
y++;
|
||||
}
|
||||
|
||||
while (y < 160)
|
||||
while (y < DISPLAY_HEIGHT)
|
||||
{
|
||||
gScanlineEffectRegBuffers[0][y] = bgX + 240;
|
||||
gScanlineEffectRegBuffers[1][y] = bgX + 240;
|
||||
gScanlineEffectRegBuffers[0][y] = bgX + DISPLAY_WIDTH;
|
||||
gScanlineEffectRegBuffers[1][y] = bgX + DISPLAY_WIDTH;
|
||||
y++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user