Only take slow mosaic path when mosiac is actually in play
Jeffrey Pfau jeffrey@endrift.com
Wed, 09 Jul 2014 23:01:03 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/gba/renderers/video-software.c
→
src/gba/renderers/video-software.c
@@ -1121,7 +1121,7 @@ outX = renderer->start + tileX * 8 - (inX & 0x7); \
} \ \ uint32_t* pixel = &renderer->row[outX]; \ - if (background->mosaic) { \ + if (background->mosaic && renderer->mosaic.bgH) { \ int mosaicH = renderer->mosaic.bgH + 1; \ int x; \ int mosaicWait = outX % mosaicH; \