diff --git a/src/gb/renderers/software.c b/src/gb/renderers/software.c index 8ec3444e3..5b901d235 100644 --- a/src/gb/renderers/software.c +++ b/src/gb/renderers/software.c @@ -90,7 +90,7 @@ static void GBVideoSoftwareRendererUpdateWindow(struct GBVideoSoftwareRenderer* renderer->hasWindow = true; } else { if (!renderer->hasWindow) { - renderer->currentWy = renderer->lastY + 1 - renderer->wy; + renderer->currentWy = renderer->lastY - renderer->wy; } else { renderer->currentWy += renderer->lastY; }