From a89427efc9945975dbf08073071512d667807ef2 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Mon, 10 Sep 2018 23:01:01 +0200 Subject: [PATCH] Forgot part of the newest PCem SVGA commit to commit :p. --- src/video/vid_svga.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video/vid_svga.c b/src/video/vid_svga.c index cfb5e6d99..6d98dc9a1 100644 --- a/src/video/vid_svga.c +++ b/src/video/vid_svga.c @@ -101,6 +101,8 @@ svga_out(uint16_t addr, uint8_t val, void *p) svga_recalctimings(svga); } } else { + if ((svga->attraddr == 0x13) && (svga->attrregs[0x13] != val)) + svga->fullchange = changeframecount; o = svga->attrregs[svga->attraddr & 31]; svga->attrregs[svga->attraddr & 31] = val; if (svga->attraddr < 16) @@ -661,6 +663,7 @@ svga_poll(void *p) if (svga->vc == svga->split) { svga->ma = svga->maback = 0; + svga->sc = 0; if (svga->attrregs[0x10] & 0x20) svga->scrollcache = 0; }