From 27d36f1d7ac2e05fdb8ab497289bca22ff538e2d Mon Sep 17 00:00:00 2001 From: hap Date: Mon, 26 Jun 2023 19:41:39 +0200 Subject: mb88xx: revert irq change too (bosco shot sound broken) --- src/devices/cpu/mb88xx/mb88xx.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/devices/cpu/mb88xx/mb88xx.cpp b/src/devices/cpu/mb88xx/mb88xx.cpp index 5a5608c6851..2899f06627f 100644 --- a/src/devices/cpu/mb88xx/mb88xx.cpp +++ b/src/devices/cpu/mb88xx/mb88xx.cpp @@ -429,6 +429,9 @@ void mb88_cpu_device::update_pio( int cycles ) { /* if we have a live external source, call the irqcallback */ standard_irq_callback( 0, intpc ); + /* The datasheet doesn't mention if the interrupt flag + * is cleared, but it seems to be only for this case. */ + m_pio &= ~INT_CAUSE_EXTERNAL; m_PC = 0x02; } else if (m_pending_interrupt & m_pio & INT_CAUSE_TIMER) -- cgit v1.2.3