From cf7ecacb9d07b980e279a5eed3ad012f628f309d Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 22 Apr 2020 22:11:01 +0200 Subject: [PATCH] Fixed a typo in the Sound Blaster IRQ update code, reported by TheCollector1995. --- src/sound/snd_sb_dsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/snd_sb_dsp.c b/src/sound/snd_sb_dsp.c index d9d1c3f5a..30b5ae23a 100644 --- a/src/sound/snd_sb_dsp.c +++ b/src/sound/snd_sb_dsp.c @@ -184,7 +184,7 @@ sb_update_irq(sb_dsp_t *dsp) irq_pending = (dsp->sb_irq8 && !dsp->sb_irqm8) || (dsp->sb_irq16 && !dsp->sb_irqm16) || - (dsp->sb_irq401 && !dsp->sb_irq401); + (dsp->sb_irq401 && !dsp->sb_irqm401); if (irq_pending) picint(1 << dsp->sb_irqnum);