all repos — mgba @ c9f50b2c5a644355b4190d44c290032561d1ff33

mGBA Game Boy Advance Emulator

GB Video: Fix windows shifting down by one pixel when rewinding
Douglas Christman DouglasChristman@gmail.com
Sat, 31 Mar 2018 17:59:53 +0800
commit

c9f50b2c5a644355b4190d44c290032561d1ff33

parent

8e46e0ea79d601ed57eab0ee365bc8a9525ed7fb

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/gb/renderers/software.csrc/gb/renderers/software.c

@@ -209,7 +209,7 @@ renderer->currentWy -= renderer->lastY;

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; }