summaryrefslogtreecommitdiffstats
path: root/src/devices/cpu/m37710/m37710.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m37710/m37710.cpp')
-rw-r--r--src/devices/cpu/m37710/m37710.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m37710/m37710.cpp b/src/devices/cpu/m37710/m37710.cpp
index 15da8e4ae5a..7d6d79a9403 100644
--- a/src/devices/cpu/m37710/m37710.cpp
+++ b/src/devices/cpu/m37710/m37710.cpp
@@ -509,7 +509,7 @@ void m37710_cpu_device::port_w(offs_t offset, uint8_t data)
else
{
uint8_t d = m_port_dir[p];
- if (d != 0xff)
+ if (d != 0)
m_port_out_cb[p](0, data & d, d);
m_port_regs[p] = data;
}