GBA Video: Fix regression with mosaic
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Aug 2016 19:50:53 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/renderers/software-obj.c
→
src/gba/renderers/software-obj.c
@@ -262,7 +262,7 @@ } else {
int outX = x >= start ? x : start; int condition = x + width; int mosaicH = 1; - if (mosaicH > 1) { + if (GBAObjAttributesAIsMosaic(sprite->a)) { mosaicH = GBAMosaicControlGetObjH(renderer->mosaic) + 1; if (condition % mosaicH) { condition += mosaicH - (condition % mosaicH);