Disable wide DAC on RIVA TNT because it breaks things.

This commit is contained in:
Melissa Goad
2016-10-08 13:07:04 -05:00
parent f7bc76e7ca
commit 19211ab1f0

View File

@@ -1012,8 +1012,8 @@ static void rivatnt_out(uint16_t addr, uint8_t val, void *p)
switch(svga->crtcreg)
{
case 0x1a:
if((svga->crtc[0x28] & 3) != 0) svga_set_ramdac_type(svga, (val & 2) ? RAMDAC_6BIT : RAMDAC_8BIT);
else svga_set_ramdac_type(svga, RAMDAC_6BIT);
//if((svga->crtc[0x28] & 3) != 0) svga_set_ramdac_type(svga, (val & 2) ? RAMDAC_6BIT : RAMDAC_8BIT);
//else svga_set_ramdac_type(svga, RAMDAC_6BIT);
svga_recalctimings(svga);
break;
case 0x1e:
@@ -1281,8 +1281,8 @@ static void rivatnt_recalctimings(svga_t *svga)
break;
}
if((svga->crtc[0x28] & 3) != 0) svga_set_ramdac_type(svga, (svga->crtc[0x1a] & 2) ? RAMDAC_6BIT : RAMDAC_8BIT);
else svga_set_ramdac_type(svga, RAMDAC_6BIT);
//if((svga->crtc[0x28] & 3) != 0) svga_set_ramdac_type(svga, (svga->crtc[0x1a] & 2) ? RAMDAC_6BIT : RAMDAC_8BIT);
//else svga_set_ramdac_type(svga, RAMDAC_6BIT);
if (((svga->miscout >> 2) & 2) == 2)
{