Remove superfluous CRTC R17 adjustment on ATI 28800. Fixes 800x600 modes on 28800

cards. Patch from Greatpsycho.
This commit is contained in:
SarahW 2020-03-14 11:37:04 +00:00
commit 4e51641f29

View file

@ -297,15 +297,6 @@ void ati28800_recalctimings(svga_t *svga)
svga->rowoffset <<= 1;
}
if (svga->crtc[0x17] & 4)
{
svga->vtotal <<= 1;
svga->dispend <<= 1;
svga->vsyncstart <<= 1;
svga->split <<= 1;
svga->vblankstart <<= 1;
}
if (!svga->scrblank && (ati28800->regs[0xb0] & 0x20)) /*Extended 256 colour modes*/
{
pclog("8bpp_highres\n");