From b67c3c41e15ba4357d248b7f2e79118a57bb76aa Mon Sep 17 00:00:00 2001 From: OBattler Date: Sun, 5 Feb 2023 17:16:53 +0100 Subject: [PATCH] Fixed (S)VGA timings, according to tests by Sergi. --- src/video/vid_svga.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video/vid_svga.c b/src/video/vid_svga.c index 8b61bf395..704c6f612 100644 --- a/src/video/vid_svga.c +++ b/src/video/vid_svga.c @@ -455,7 +455,8 @@ svga_recalctimings(svga_t *svga) svga->hdisp++; svga->htotal = svga->crtc[0]; - svga->htotal += 6; /*+6 is required for Tyrian*/ + /* +5 has been verified by Sergi to be correct - +6 must have been an off by one error. */ + svga->htotal += 5; /*+6 is required for Tyrian*/ svga->rowoffset = svga->crtc[0x13];