From 3fd344d957e16a19cf2c968f3230104c6cfa42e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miran=20Gr=C4=8Da?= Date: Sat, 21 Feb 2026 04:24:20 +0100 Subject: [PATCH] MPU-401: The IRQ must still be cleared on reset. --- src/sound/snd_mpu401.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sound/snd_mpu401.c b/src/sound/snd_mpu401.c index b1ff6ab8b..2562f16cc 100644 --- a/src/sound/snd_mpu401.c +++ b/src/sound/snd_mpu401.c @@ -316,6 +316,9 @@ MPU401_Reset(mpu_t *mpu) mpu->ch_toref[i] = 4; /* Dummy reftable. */ } + mpu->state.irq_pending = 0; + MPU401_UpdateIRQ(mpu, 0); + mpu->state.data_onoff = -1; mpu->state.req_mask = 0;