summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/i8089/i8089_ops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/i8089/i8089_ops.cpp')
-rw-r--r--src/devices/cpu/i8089/i8089_ops.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/i8089/i8089_ops.cpp b/src/devices/cpu/i8089/i8089_ops.cpp
index 4c3c59b99e0..271bfddbed0 100644
--- a/src/devices/cpu/i8089/i8089_ops.cpp
+++ b/src/devices/cpu/i8089/i8089_ops.cpp
@@ -399,7 +399,7 @@ void i8089_channel_device::tsl(int m, int8_t i, int8_t d, int o)
// set source and destination logical widths
void i8089_channel_device::wid(int s, int d)
{
- m_r[PSW].w &= 0x3f;
+ m_r[PSW].w &= 0xfc;
m_r[PSW].w |= d << 0;
m_r[PSW].w |= s << 1;
}