GBA Video: Fix build

This commit is contained in:
Vicki Pfau 2019-05-30 12:02:49 -07:00
parent fd9645fde7
commit 3a2e5dec91
1 changed files with 1 additions and 1 deletions

View File

@ -836,7 +836,7 @@ static void _drawScanline(struct GBAVideoSoftwareRenderer* renderer, int y) {
}
if (GBAObjAttributesAIsMosaic(sprite->obj.a) && mosaicV > 1) {
localY = mosaicY;
if (localY < sprite->y && sprite->y < GBA_VIDEO_VERTICAL_PIXELS) {
if (localY < sprite->y && sprite->y < VIDEO_VERTICAL_PIXELS) {
localY = sprite->y;
}
if (localY >= (sprite->endY & 0xFF)) {