summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/vt61/vt61.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/vt61/vt61.cpp')
-rw-r--r--src/devices/cpu/vt61/vt61.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/vt61/vt61.cpp b/src/devices/cpu/vt61/vt61.cpp
index bcd91776b88..96194302b0d 100644
--- a/src/devices/cpu/vt61/vt61.cpp
+++ b/src/devices/cpu/vt61/vt61.cpp
@@ -127,7 +127,7 @@ u8 vt61_cpu_device::get_db(u16 i)
// SEL SPM
u8 addr = bitswap<4>(i, 5, 4, 3, 7);
if (BIT(i, 6))
- addr = (addr & 014) | m_ir;
+ addr = (addr & 011) | (m_ir << 1);
return m_sp[addr];
}
else switch (BIT(i, 7, 4))