mirror of
https://github.com/86Box/86Box.git
synced 2026-02-23 18:08:20 -07:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user