m68000: Properly acknowledge interrupts when no mixer is present

This commit is contained in:
Olivier Galibert 2023-01-30 08:54:26 +01:00
parent dda0926481
commit c0f26565e2

View File

@ -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<<i))
standard_irq_callback(i);
}
// Clear the nmi flag
if(level == 7) {