summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ins8250.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ins8250.cpp')
-rw-r--r--src/devices/machine/ins8250.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/ins8250.cpp b/src/devices/machine/ins8250.cpp
index ec5d8e041d7..9c6121e9a2d 100644
--- a/src/devices/machine/ins8250.cpp
+++ b/src/devices/machine/ins8250.cpp
@@ -436,7 +436,7 @@ u8 ins8250_uart_device::ins8250_r(offs_t offset)
clear the int if this is the source of the int */
if (!machine().side_effects_disabled())
{
- if (m_regs.iir == 0x02)
+ if ((m_regs.iir & 0x0f) == 0x02)
clear_int(COM_INT_PENDING_TRANSMITTER_HOLDING_REGISTER_EMPTY);
}
break;