summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/swim3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/swim3.cpp')
-rw-r--r--src/devices/machine/swim3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/swim3.cpp b/src/devices/machine/swim3.cpp
index ec24c6e2606..1be0e9937f6 100644
--- a/src/devices/machine/swim3.cpp
+++ b/src/devices/machine/swim3.cpp
@@ -254,7 +254,7 @@ void swim3_device::write(offs_t offset, u8 data)
break;
}
- if((m_mode ^ prev_mode) & 0x06)
+ if((m_mode ^ prev_mode) & 0x86)
m_devsel_cb((m_mode >> 1) & 3);
if((m_mode ^ prev_mode) & 0x20)
m_hdsel_cb((m_mode >> 5) & 1);