z80scc: actually clear interrupt state (nw)

This commit is contained in:
Patrick Mackinlay 2018-06-04 19:29:17 +07:00
parent 40a350364a
commit cf754198f5

View File

@ -2520,6 +2520,7 @@ uint8_t z80scc_channel::data_read()
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_chanA->m_rr3 &= ~(1 << (INT_RECEIVE_PRIO + ((m_index == z80scc_device::CHANNEL_A) ? 3 : 0)));
m_uart->check_interrupts();
}
}
}