diff --git a/src/gba/renderers/video-software.c b/src/gba/renderers/video-software.c index a3424da99..2e62fa8b9 100644 --- a/src/gba/renderers/video-software.c +++ b/src/gba/renderers/video-software.c @@ -636,7 +636,7 @@ static void _drawBackgroundMode0(struct GBAVideoSoftwareRenderer* renderer, stru union GBATextMapData mapData; unsigned yBase = inY & 0xF8; - if (background->size & 2) { + if (background->size == 2) { yBase += inY & 0x100; } else if (background->size == 3) { yBase += (inY & 0x100) << 1;