mirror of https://github.com/mgba-emu/mgba.git
GB Video: Fix WX
This commit is contained in:
parent
eee24961b1
commit
2e77c45e06
|
@ -150,7 +150,7 @@ static void GBVideoSoftwareRendererDrawScanline(struct GBVideoRenderer* renderer
|
||||||
if (GBRegisterLCDCIsWindowTileMap(softwareRenderer->lcdc)) {
|
if (GBRegisterLCDCIsWindowTileMap(softwareRenderer->lcdc)) {
|
||||||
maps += GB_SIZE_MAP;
|
maps += GB_SIZE_MAP;
|
||||||
}
|
}
|
||||||
GBVideoSoftwareRendererDrawBackground(softwareRenderer, maps, 0, y, 7 - softwareRenderer->wx, -softwareRenderer->wy);
|
GBVideoSoftwareRendererDrawBackground(softwareRenderer, maps, softwareRenderer->wx - 7, y, 7 - softwareRenderer->wx, -softwareRenderer->wy);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (x = 0; x < GB_VIDEO_HORIZONTAL_PIXELS; ++x) {
|
for (x = 0; x < GB_VIDEO_HORIZONTAL_PIXELS; ++x) {
|
||||||
|
|
Loading…
Reference in New Issue