Fixed GUS IRQ handling if normal and MIDI IRQ's are the same.

This commit is contained in:
OBattler
2023-08-30 18:46:23 +02:00
parent fd4ef5cfb4
commit 3039f8449f

View File

@@ -216,7 +216,7 @@ gus_update_int_status(gus_t *gus)
picintclevel(1 << gus->irq, &gus->irq_state);
}
if (gus->irq_midi != -1) {
if ((gus->irq_midi != -1) && (gus->irq_midi != gus->irq)) {
if (midi_intr_pending)
picintlevel(1 << gus->irq_midi, &gus->midi_irq_state);
else