S3 ViRGE: Force bit 2 of CRTC register 33h to be set when read, fixes Windows 95 GX2 lock-ups.

This commit is contained in:
OBattler
2024-08-17 19:46:29 +02:00
parent 458577a720
commit dc8d237126

View File

@@ -720,6 +720,9 @@ s3_virge_in(uint16_t addr, void *priv) {
case 0x31:
ret = (svga->crtc[0x31] & 0xcf) | ((virge->ma_ext & 3) << 4);
break;
case 0x33:
ret = (svga->crtc[0x33] | 0x04);
break;
case 0x35:
ret = (svga->crtc[0x35] & 0xf0) | (virge->bank & 0xf);
break;