From 51655552e2449d4013bac37b52e1128e32804e7d Mon Sep 17 00:00:00 2001 From: TC1995 Date: Fri, 18 Jun 2021 18:08:06 +0200 Subject: [PATCH] Fixed a small skew issue under win95 using the ET4000/W32p in 4bpp/16 color mode. --- src/video/vid_et4000w32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video/vid_et4000w32.c b/src/video/vid_et4000w32.c index 25e369cc3..1652615af 100644 --- a/src/video/vid_et4000w32.c +++ b/src/video/vid_et4000w32.c @@ -379,7 +379,8 @@ et4000w32p_recalctimings(svga_t *svga) svga->hdisp += (svga->seqregs[1] & 1) ? 16 : 18; else svga->hdisp += (svga->seqregs[1] & 1) ? 8 : 9; - } + } else if ((svga->gdcreg[5] & 0x40) == 0) + svga->hdisp += (svga->seqregs[1] & 1) ? 8 : 9; } }