mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
i8251: Allow write_cts before device has started
This commit is contained in:
parent
8b5e6f363e
commit
b17a4396e1
@ -837,9 +837,12 @@ WRITE_LINE_MEMBER(i8251_device::write_cts)
|
||||
{
|
||||
m_cts = state;
|
||||
|
||||
check_for_tx_start();
|
||||
update_tx_ready();
|
||||
update_tx_empty();
|
||||
if (started())
|
||||
{
|
||||
check_for_tx_start();
|
||||
update_tx_ready();
|
||||
update_tx_empty();
|
||||
}
|
||||
}
|
||||
|
||||
WRITE_LINE_MEMBER(i8251_device::write_dsr)
|
||||
|
Loading…
Reference in New Issue
Block a user