mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
tmp68301: Fix confusion between internal copy of SR and interrupt in-service register
This commit is contained in:
parent
2d83b26042
commit
6f25d9860e
@ -596,7 +596,7 @@ u8 tmp68301_device::interrupt_callback()
|
|||||||
if(slot < 3)
|
if(slot < 3)
|
||||||
standard_irq_callback(slot, m_pc);
|
standard_irq_callback(slot, m_pc);
|
||||||
if(vector != 0x1f) {
|
if(vector != 0x1f) {
|
||||||
m_isr |= 1 << slot;
|
m_iisr |= 1 << slot;
|
||||||
if(slot >= 3 || !(m_icr[slot] & 0x08))
|
if(slot >= 3 || !(m_icr[slot] & 0x08))
|
||||||
m_ipr &= ~(1 << slot);
|
m_ipr &= ~(1 << slot);
|
||||||
m_interrupt_state &= ~(1U << vector);
|
m_interrupt_state &= ~(1U << vector);
|
||||||
|
Loading…
Reference in New Issue
Block a user