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.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/devices/machine/i8251.cpp b/src/devices/machine/i8251.cpp
index 1c3189d8f8f..773262b617e 100644
--- a/src/devices/machine/i8251.cpp
+++ b/src/devices/machine/i8251.cpp
@@ -674,11 +674,9 @@ uint8_t i8251_device::data_r()
{
LOG("read data: %02x, STATUS=%02x\n",m_rx_data,m_status);
/* reading clears */
- if (!machine().side_effects_disabled())
- {
- m_status &= ~I8251_STATUS_RX_READY;
- update_rx_ready();
- }
+ m_status &= ~I8251_STATUS_RX_READY;
+
+ update_rx_ready();
return m_rx_data;
}