From 2457ff050fe0b188a309e471097aec49e875e074 Mon Sep 17 00:00:00 2001 From: SarahW Date: Mon, 1 Aug 2016 16:29:51 +0100 Subject: [PATCH] Fixed vblank start on ET4000 - now displays 1280x1024 correctly. --- src/vid_et4000.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vid_et4000.c b/src/vid_et4000.c index db8438e..dfdde8d 100644 --- a/src/vid_et4000.c +++ b/src/vid_et4000.c @@ -115,6 +115,7 @@ void et4000_recalctimings(svga_t *svga) et4000_t *et4000 = (et4000_t *)svga->p; svga->ma_latch |= (svga->crtc[0x33]&3)<<16; + if (svga->crtc[0x35] & 1) svga->vblankstart += 0x400; if (svga->crtc[0x35] & 2) svga->vtotal += 0x400; if (svga->crtc[0x35] & 4) svga->dispend += 0x400; if (svga->crtc[0x35] & 8) svga->vsyncstart += 0x400;