tmp68301: Fix confusion between internal copy of SR and interrupt in-service register

This commit is contained in:
AJR 2023-04-09 18:27:39 -04:00
parent 2d83b26042
commit 6f25d9860e

View File

@ -596,7 +596,7 @@ u8 tmp68301_device::interrupt_callback()
if(slot < 3)
standard_irq_callback(slot, m_pc);
if(vector != 0x1f) {
m_isr |= 1 << slot;
m_iisr |= 1 << slot;
if(slot >= 3 || !(m_icr[slot] & 0x08))
m_ipr &= ~(1 << slot);
m_interrupt_state &= ~(1U << vector);