Fix tiles being shifted when adjusting outX
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Sep 2013 11:15:52 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
M
src/gba/renderers/video-software.c
→
src/gba/renderers/video-software.c
@@ -898,6 +898,7 @@ paletteData = mapData.palette << 4;
if (!mapData.hflip) { outX = renderer->end - mod8; if (outX < 0) { + tileData >>= 4 * -outX; outX = 0; } if (!variant) {