PSSJ: Actually clear the DAC IRQ when port C4/1E4 has bit 3 cleared, fixes Tandy DAC Win3.1 driver

This commit is contained in:
win2kgamer
2026-02-07 21:58:59 -06:00
parent 0805907f91
commit 3ffe89c966

View File

@@ -55,8 +55,10 @@ pssj_write(uint16_t port, uint8_t val, void *priv)
if (!pssj->enable)
timer_disable(&pssj->timer_count);
sn74689_set_extra_divide(&pssj->sn76489, val & 0x40);
if (!(val & 8))
if (!(val & 8)) {
pssj->irq = 0;
picintc(1 << 7);
}
pssj_update_irq(pssj);
break;
case 1: