i8251: Allow write_cts before device has started

This commit is contained in:
AJR 2021-02-27 11:57:27 -05:00
parent 8b5e6f363e
commit b17a4396e1

View File

@ -837,9 +837,12 @@ WRITE_LINE_MEMBER(i8251_device::write_cts)
{ {
m_cts = state; m_cts = state;
check_for_tx_start(); if (started())
update_tx_ready(); {
update_tx_empty(); check_for_tx_start();
update_tx_ready();
update_tx_empty();
}
} }
WRITE_LINE_MEMBER(i8251_device::write_dsr) WRITE_LINE_MEMBER(i8251_device::write_dsr)