Merge pull request #3634 from pmackinlay/interpro

z80scc: actually clear interrupt state (nw)
This commit is contained in:
ajrhacker 2018-06-04 09:50:33 -04:00 committed by GitHub
commit 8c97e9de7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();
}
}
}