...and don't otherwise

This commit is contained in:
Cacodemon345
2024-02-18 02:52:29 +06:00
committed by GitHub
parent 29c7b80fcf
commit 575317fa08

View File

@@ -818,7 +818,9 @@ chips_69000_recalctimings(svga_t *svga)
//svga->htotal = ((chips->flat_panel_regs[0x23] | ((chips->flat_panel_regs[0x26] & 0xF) << 8)) + 5) << 3;
//svga->hblank_end_val = svga->htotal - 1;
svga->hoverride = 1;
}
} else
svga->hoverride = 0;
if (svga->dispend > (((chips->flat_panel_regs[0x30] | ((chips->flat_panel_regs[0x35] & 0xF) << 8)) + 1))) {
svga->dispend = svga->vsyncstart = svga->vblankstart = ((chips->flat_panel_regs[0x30] | ((chips->flat_panel_regs[0x35] & 0xF) << 8)) + 1);
}