From c0f26565e2fc55f319b30543e7b039131015e4a3 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Mon, 30 Jan 2023 08:54:26 +0100 Subject: [PATCH] m68000: Properly acknowledge interrupts when no mixer is present --- src/devices/cpu/m68000/m68000.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/devices/cpu/m68000/m68000.cpp b/src/devices/cpu/m68000/m68000.cpp index 27d7892144e..9043184e303 100644 --- a/src/devices/cpu/m68000/m68000.cpp +++ b/src/devices/cpu/m68000/m68000.cpp @@ -419,7 +419,13 @@ void m68000_device::start_interrupt_vector_lookup() // flag for berr -> spurious int level = m_next_state >> 24; - standard_irq_callback(level); + if(m_interrupt_mixer) + standard_irq_callback(level); + else { + for(int i=0; i<3; i++) + if(level & (1<