From 1c2ff4932b8b3b250876f92438a78beabf83b411 Mon Sep 17 00:00:00 2001 From: Patrick Mackinlay Date: Tue, 2 Feb 2021 18:27:45 +0700 Subject: mc68681: ignore tx enable if already enabled --- src/devices/machine/mc68681.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3