More horizontal blanking calculation fixes (and actually use blank start, not retrace start), fixes graphics cut-off on Voodoo on Windows 98 SE.

This commit is contained in:
OBattler
2024-01-13 00:41:45 +01:00
parent 38ef7fa1c3
commit ca4f5bad13
10 changed files with 76 additions and 39 deletions

View File

@@ -616,7 +616,7 @@ et4000_recalctimings(svga_t *svga)
if (svga->attrregs[0x16] & 0x20)
svga->hdisp <<= 1;
svga->hblankstart = (((svga->crtc[0x3f] & 0x10) >> 4) << 8) + svga->crtc[4] + 1;
svga->hblankstart = (((svga->crtc[0x3f] & 0x10) >> 4) << 8) + svga->crtc[2] + 1;
switch (((svga->miscout >> 2) & 3) | ((svga->crtc[0x34] << 1) & 4)) {
case 0: