mirror of
https://github.com/holub/mame
synced 2025-06-08 13:53:52 +03:00
Merge pull request #3634 from pmackinlay/interpro
z80scc: actually clear interrupt state (nw)
This commit is contained in:
commit
8c97e9de7f
@ -2520,6 +2520,7 @@ uint8_t z80scc_channel::data_read()
|
|||||||
LOGRCV("Rx FIFO empty, resetting status and interrupt state");
|
LOGRCV("Rx FIFO empty, resetting status and interrupt state");
|
||||||
m_uart->m_int_state[INT_RECEIVE_PRIO + (m_index == z80scc_device::CHANNEL_A ? 0 : 3 )] = 0;
|
m_uart->m_int_state[INT_RECEIVE_PRIO + (m_index == z80scc_device::CHANNEL_A ? 0 : 3 )] = 0;
|
||||||
m_uart->m_chanA->m_rr3 &= ~(1 << (INT_RECEIVE_PRIO + ((m_index == z80scc_device::CHANNEL_A) ? 3 : 0)));
|
m_uart->m_chanA->m_rr3 &= ~(1 << (INT_RECEIVE_PRIO + ((m_index == z80scc_device::CHANNEL_A) ? 3 : 0)));
|
||||||
|
m_uart->check_interrupts();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user