From dd7401bc4c0386a043fe4e0085e1eba9df79b706 Mon Sep 17 00:00:00 2001 From: Andrew Alderwick Date: Wed, 22 Sep 2021 16:40:42 +0100 Subject: [PATCH] Redraw entire screen when asked to by reqdraw --- src/uxnemu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uxnemu.c b/src/uxnemu.c index bddd27f..5a86b26 100644 --- a/src/uxnemu.c +++ b/src/uxnemu.c @@ -158,7 +158,7 @@ redraw(Uxn *u) SDL_Rect up = gRect; if(devsystem->dat[0xe]) inspect(&ppu, u->wst.dat, u->wst.ptr, u->rst.ptr, u->ram.dat); - if(ppu.redraw) { + if(!reqdraw && ppu.redraw) { y0 = ppu.i0 / ppu.stride; y1 = ppu.i1 / ppu.stride + 1; up.y += y0;