From e6e8784769bef7b4e552768473fce1edb02c3188 Mon Sep 17 00:00:00 2001 From: Alexander Babikov <2708460+lemondrops@users.noreply.github.com> Date: Thu, 31 Aug 2023 06:13:04 +0500 Subject: [PATCH] Revert the GUS to use edge-triggered IRQs Fixes #3645 --- src/sound/snd_gus.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sound/snd_gus.c b/src/sound/snd_gus.c index aa9eeca40..90f5dba7f 100644 --- a/src/sound/snd_gus.c +++ b/src/sound/snd_gus.c @@ -211,16 +211,16 @@ gus_update_int_status(gus_t *gus) if (gus->irq != -1) { if (intr_pending) - picintlevel(1 << gus->irq, &gus->irq_state); + picint(1 << gus->irq); else - picintclevel(1 << gus->irq, &gus->irq_state); + picintc(1 << gus->irq); } if ((gus->irq_midi != -1) && (gus->irq_midi != gus->irq)) { if (midi_intr_pending) - picintlevel(1 << gus->irq_midi, &gus->midi_irq_state); + picint(1 << gus->irq_midi); else - picintclevel(1 << gus->irq_midi, &gus->midi_irq_state); + picintc(1 << gus->irq_midi); } }