GB Video: Fix WX
Jeffrey Pfau jeffrey@endrift.com
Tue, 26 Jan 2016 20:58:00 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gb/renderers/software.c
→
src/gb/renderers/software.c
@@ -150,7 +150,7 @@ maps = &softwareRenderer->d.vram[GB_BASE_MAP];
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) {