forgot the other error (nw)

This commit is contained in:
Vas Crabb 2017-10-31 00:28:38 +11:00
parent 867d1a6b9e
commit ea958c9ccb

View File

@ -1290,7 +1290,7 @@ void z80sio_channel::receive_data()
switch (m_wr1 & WR1_RX_INT_MODE_MASK) switch (m_wr1 & WR1_RX_INT_MODE_MASK)
{ {
case WR1_RX_INT_FIRST: case WR1_RX_INT_FIRST:
if (m_rx_first || (rx_error & RR1_CRC_FRAMING_ERROR)) if (m_rx_first || (rx_error & (RR1_RX_OVERRUN_ERROR | RR1_CRC_FRAMING_ERROR)))
m_uart->trigger_interrupt(m_index, INT_RECEIVE); m_uart->trigger_interrupt(m_index, INT_RECEIVE);
m_rx_first = 0; m_rx_first = 0;
break; break;