S3: Disable (S)VGA split screen functionality in enhanced modes, fixes 1600x1200 modes.

This commit is contained in:
OBattler
2022-07-11 18:32:19 +02:00
parent c202a065ec
commit ef869d7a3d

View File

@@ -2899,6 +2899,8 @@ static void s3_recalctimings(svga_t *svga)
if (svga->crtc[0x5e] & 0x04) svga->vblankstart |= 0x400; if (svga->crtc[0x5e] & 0x04) svga->vblankstart |= 0x400;
if (svga->crtc[0x5e] & 0x10) svga->vsyncstart |= 0x400; if (svga->crtc[0x5e] & 0x10) svga->vsyncstart |= 0x400;
if (svga->crtc[0x5e] & 0x40) svga->split |= 0x400; if (svga->crtc[0x5e] & 0x40) svga->split |= 0x400;
if (s3->accel.advfunc_cntl & 0x01)
svga->split = 0x7fff;
if (svga->crtc[0x51] & 0x30) svga->rowoffset |= (svga->crtc[0x51] & 0x30) << 4; if (svga->crtc[0x51] & 0x30) svga->rowoffset |= (svga->crtc[0x51] & 0x30) << 4;
else if (svga->crtc[0x43] & 0x04) svga->rowoffset |= 0x100; else if (svga->crtc[0x43] & 0x04) svga->rowoffset |= 0x100;
} }