mirror of https://github.com/mgba-emu/mgba.git
Fix tiles being shifted when adjusting outX
This commit is contained in:
parent
ddf078383a
commit
e7622ed70f
|
@ -898,6 +898,7 @@ static void _drawBackgroundMode0(struct GBAVideoSoftwareRenderer* renderer, stru
|
|||
if (!mapData.hflip) {
|
||||
outX = renderer->end - mod8;
|
||||
if (outX < 0) {
|
||||
tileData >>= 4 * -outX;
|
||||
outX = 0;
|
||||
}
|
||||
if (!variant) {
|
||||
|
|
Loading…
Reference in New Issue