summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2021-02-02 18:27:45 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2021-02-02 18:27:45 +0700
commit1c2ff4932b8b3b250876f92438a78beabf83b411 (patch)
tree1669fb4b44f6efc405e462d715ef0bfe287850b6
parent41e841bbad0b463c4f721f0c134d924aa6fd003b (diff)
mc68681: ignore tx enable if already enabled
-rw-r--r--src/devices/machine/mc68681.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/mc68681.cpp b/src/devices/machine/mc68681.cpp
index 378feed8dcc..6ab7e2f69fe 100644
--- a/src/devices/machine/mc68681.cpp
+++ b/src/devices/machine/mc68681.cpp
@@ -1632,7 +1632,7 @@ void duart_channel::write_CR(uint8_t data)
SR &= ~STATUS_RECEIVER_READY;
}
- if (BIT(data, 2))
+ if (!tx_enabled && BIT(data, 2))
{
tx_enabled = 1;
tx_ready = 1;