diff options
Diffstat (limited to 'scumm/script_v90he.cpp')
-rw-r--r-- | scumm/script_v90he.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp index 8d311cf9dd..40a6b68828 100644 --- a/scumm/script_v90he.cpp +++ b/scumm/script_v90he.cpp @@ -105,8 +105,8 @@ void ScummEngine_v90he::setupOpcodes() { OPCODE(o90_unknown2F), /* 30 */ OPCODE(o90_mod), - OPCODE(o90_shl4), - OPCODE(o90_shr4), + OPCODE(o90_shl), + OPCODE(o90_shr), OPCODE(o6_invalid), /* 34 */ OPCODE(o90_findAllObjectsWithClassOf), @@ -800,8 +800,6 @@ void ScummEngine_v90he::o90_unknown25() { error("o90_unknown25: Unknown case %d", subOp); } push(0); - - } void ScummEngine_v90he::o90_unknown26() { @@ -1112,13 +1110,13 @@ void ScummEngine_v90he::o90_unknown2F() { debug(1,"o90_unknown2F stub (%d)", subOp); } -void ScummEngine_v90he::o90_shl4() { - int a = pop() << 2; +void ScummEngine_v90he::o90_shl() { + int a = pop(); push(pop() << a); } -void ScummEngine_v90he::o90_shr4() { - int a = pop() << 2; +void ScummEngine_v90he::o90_shr() { + int a = pop(); push(pop() >> a); } |