diff options
author | Patrick Mackinlay <pmackinlay@hotmail.com> | 2020-01-07 10:42:22 +0700 |
---|---|---|
committer | Patrick Mackinlay <pmackinlay@hotmail.com> | 2020-01-07 10:42:22 +0700 |
commit | a8cd7ff87e5a7ef68eba7e688630c3c951df8233 (patch) | |
tree | da0a11fc3c5e2567579b399daf2f7e7e8f062878 | |
parent | 1c77eef9d9edace947a65bf670186076bf006b04 (diff) |
ins8250: ignore fifo bits when clearing interrupt (nw)
-rw-r--r-- | src/devices/machine/ins8250.cpp | 2 |
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; |