GB Video: Fix WX

This commit is contained in:
Jeffrey Pfau 2016-01-26 20:58:00 -08:00
parent eee24961b1
commit 2e77c45e06
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ static void GBVideoSoftwareRendererDrawScanline(struct GBVideoRenderer* renderer
if (GBRegisterLCDCIsWindowTileMap(softwareRenderer->lcdc)) {
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 {
for (x = 0; x < GB_VIDEO_HORIZONTAL_PIXELS; ++x) {