aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-18 20:36:19 +0000
committerMartin Kiewitz2010-07-18 20:36:19 +0000
commite4271b0bb09cd80abc49444495aa9a6fac579ab1 (patch)
tree9aa6e20e17f472953f0977259db09a76c3aa04f4 /engines/sci/engine
parentdbc16076034d23181b4a2ea897afbf6b923208ee (diff)
downloadscummvm-rg350-e4271b0bb09cd80abc49444495aa9a6fac579ab1.tar.gz
scummvm-rg350-e4271b0bb09cd80abc49444495aa9a6fac579ab1.tar.bz2
scummvm-rg350-e4271b0bb09cd80abc49444495aa9a6fac579ab1.zip
SCI: fix warning
svn-id: r51010
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/vm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index 8c540b34b1..ba35e024e1 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -1125,7 +1125,7 @@ void run_vm(EngineState *s, bool restoring) {
switch (opcode) {
- case op_bnot: // 0x00 (00)
+ case op_bnot: { // 0x00 (00)
// Binary not
int16 value;
if (validate_signedInteger(s->r_acc, value))
@@ -1133,6 +1133,7 @@ void run_vm(EngineState *s, bool restoring) {
else
s->r_acc = arithmetic_lookForWorkaround(opcode, NULL, s->r_acc, NULL_REG);
break;
+ }
case op_add: // 0x01 (01)
r_temp = POP32();