Redraw entire screen when asked to by reqdraw

This commit is contained in:
Andrew Alderwick 2021-09-22 16:40:42 +01:00
parent 5e03a765de
commit dd7401bc4c
1 changed files with 1 additions and 1 deletions

View File

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