From 3ffe89c966962d051654c39a3b445535be949f2c Mon Sep 17 00:00:00 2001 From: win2kgamer <47463859+win2kgamer@users.noreply.github.com> Date: Sat, 7 Feb 2026 21:58:59 -0600 Subject: [PATCH] PSSJ: Actually clear the DAC IRQ when port C4/1E4 has bit 3 cleared, fixes Tandy DAC Win3.1 driver --- src/sound/snd_pssj.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sound/snd_pssj.c b/src/sound/snd_pssj.c index da141dafd..1b10fdd8d 100644 --- a/src/sound/snd_pssj.c +++ b/src/sound/snd_pssj.c @@ -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: