summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/i8251.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/i8251.cpp')
-rw-r--r--src/devices/machine/i8251.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/i8251.cpp b/src/devices/machine/i8251.cpp
index 69883c412af..27d8ed7e641 100644
--- a/src/devices/machine/i8251.cpp
+++ b/src/devices/machine/i8251.cpp
@@ -268,8 +268,8 @@ void i8251_device::update_tx_empty()
{
if (m_status & I8251_STATUS_TX_EMPTY)
{
- /* tx is in marking state (high) when tx empty! */
- m_txd_handler(1);
+ // return TxD to marking state (high) if not sending break character
+ m_txd_handler(!BIT(m_command, 3));
}
m_txempty_handler((m_status & I8251_STATUS_TX_EMPTY) != 0);