Fixed (S)VGA timings, according to tests by Sergi.

This commit is contained in:
OBattler
2023-02-05 17:16:53 +01:00
parent 64c6266404
commit b67c3c41e1

View File

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