summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms1000/tms0970.cpp
diff options
context:
space:
mode:
author Firehawke <Firehawke@users.noreply.github.com>2017-12-13 20:52:42 -0700
committer Firehawke <Firehawke@users.noreply.github.com>2017-12-13 20:52:42 -0700
commitf537428e5a40ba6dde8ca9bf0fe9ae6b1f189ac4 (patch)
tree7160ed8d2cbe2127aaaef0a21f8736403b0f8a7c /src/devices/cpu/tms1000/tms0970.cpp
parent0d70d798107d4e4e8fb9f230410aeb1e888d65c5 (diff)
parent6379bf581489df72694b1c42cc7436ca0f1d89b2 (diff)
Merge branch 'master' of https://github.com/mamedev/mame
Diffstat (limited to 'src/devices/cpu/tms1000/tms0970.cpp')
-rw-r--r--src/devices/cpu/tms1000/tms0970.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/tms1000/tms0970.cpp b/src/devices/cpu/tms1000/tms0970.cpp
index 503f95def3e..2ba98ae38a2 100644
--- a/src/devices/cpu/tms1000/tms0970.cpp
+++ b/src/devices/cpu/tms1000/tms0970.cpp
@@ -110,7 +110,7 @@ void tms0970_cpu_device::device_reset()
if (imask & 0x40 && (imask & 0x20) == 0)
msel = (op & 0xf) | (op >> 1 & 0x10);
- msel = BITSWAP8(msel,7,6,5,0,1,2,3,4); // lines are reversed
+ msel = bitswap<8>(msel,7,6,5,0,1,2,3,4); // lines are reversed
u32 mmask = m_mpla->read(msel);
mmask ^= 0x09fe; // invert active-negative