summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/drcbec.cpp
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2017-01-24 21:41:52 -0500
committer arbee <rb6502@users.noreply.github.com>2017-01-24 21:41:52 -0500
commit037d214ae75909f456a21346828239c73364c17f (patch)
treee9bd003687fb81929dcfb67d1f60456eb723b466 /src/devices/cpu/drcbec.cpp
parentdc374ba4b6077e629c21cc8f82ed0628b5e620e2 (diff)
drcbec: fixed long-standing copy/paste error (nw)
Diffstat (limited to 'src/devices/cpu/drcbec.cpp')
-rw-r--r--src/devices/cpu/drcbec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/drcbec.cpp b/src/devices/cpu/drcbec.cpp
index 28a4abdd9be..ea0a3f08f5a 100644
--- a/src/devices/cpu/drcbec.cpp
+++ b/src/devices/cpu/drcbec.cpp
@@ -1747,7 +1747,7 @@ int drcbe_c::execute(code_handle &entry)
break;
case MAKE_OPCODE_SHORT(OP_ROL, 8, 0): // DROL dst,src,count[,f]
- shift = DPARAM2 & 31;
+ shift = DPARAM2 & 63;
DPARAM0 = (DPARAM1 << shift) | (DPARAM1 >> ((64 - shift) & 63));
break;