From 3a2e5dec9125820d6e8b31d5edf68e7b58d568b2 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Thu, 30 May 2019 12:02:49 -0700 Subject: [PATCH] GBA Video: Fix build --- src/gba/renderers/video-software.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/renderers/video-software.c b/src/gba/renderers/video-software.c index 5c29dd973..0ddaed573 100644 --- a/src/gba/renderers/video-software.c +++ b/src/gba/renderers/video-software.c @@ -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)) {