Don't call svga_recalctimings() on MGA's port 0x3df, fixes Debian Woody's matroxfb screen test.

This commit is contained in:
TC1995
2023-12-21 13:36:46 +01:00
parent 77afa07960
commit 082337a381

View File

@@ -719,10 +719,9 @@ mystique_out(uint16_t addr, uint8_t val, void *priv)
case 0x3df:
if (mystique->crtcext_idx == 1)
svga->dpms = !!(val & 0x30);
if (mystique->crtcext_idx < 6) {
if (mystique->crtcext_idx < 6)
mystique->crtcext_regs[mystique->crtcext_idx] = val;
svga_recalctimings(&mystique->svga);
}
if (mystique->crtcext_idx == 4) {
if (svga->gdcreg[6] & 0xc) {
/*64k banks*/