summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/trs80m2kb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/trs80m2kb.cpp')
-rw-r--r--src/mame/machine/trs80m2kb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/trs80m2kb.cpp b/src/mame/machine/trs80m2kb.cpp
index 97c5dbeceec..1cefe9d5b3c 100644
--- a/src/mame/machine/trs80m2kb.cpp
+++ b/src/mame/machine/trs80m2kb.cpp
@@ -347,5 +347,5 @@ WRITE8_MEMBER( trs80m2_keyboard_device::kb_p2_w )
*/
- m_keylatch = BITSWAP8(data, 7, 6, 5, 4, 0, 1, 2, 3) & 0x0f;
+ m_keylatch = bitswap<8>(data, 7, 6, 5, 4, 0, 1, 2, 3) & 0x0f;
}