uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit dd7401bc4c0386a043fe4e0085e1eba9df79b706
parent 5e03a765dee92a3cab205ed33356673c58af172c
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Wed, 22 Sep 2021 16:40:42 +0100

Redraw entire screen when asked to by reqdraw

Diffstat:
Msrc/uxnemu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;