From 8a6f6da967dc7e1d01b584fbc67c04f1a76f2dba Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Mon, 23 Dec 2002 21:04:14 +0000 Subject: added o6_stopSound and fixed compilation svn-id: r6083 --- scumm/script_v8.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index 894d47aa06..dfe24889da 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -259,7 +259,7 @@ void Scumm_v8::setupOpcodes() OPCODE(o6_invalid), /* B0 */ OPCODE(o6_invalid), - OPCODE(o6_invalid), + OPCODE(o6_stopSound), OPCODE(o8_soundKludge), OPCODE(o8_system), /* B4 */ @@ -898,7 +898,7 @@ void Scumm_v8::o8_verbOps() byte subOp = fetchScriptByte(); VerbSlot *vs = NULL; - if (0 <= _curVerbSlot && _curVerbSlot < _maxVerbs); + if (0 <= _curVerbSlot && _curVerbSlot < _maxVerbs) {} vs = &_verbs[_curVerbSlot]; switch (subOp) { @@ -965,10 +965,10 @@ void Scumm_v8::o8_system() { // TODO byte subOp = fetchScriptByte(); - switch (subOp) { - default: +// switch (subOp) { +// default: error("o8_system: default case %d", subOp); - } +// } } void Scumm_v8::o8_kludge() @@ -977,10 +977,10 @@ void Scumm_v8::o8_kludge() int16 args[30]; getStackList(args, sizeof(args) / sizeof(args[0])); - switch (args[0]) { - default: +// switch (args[0]) { +// default: warning("o8_kludge: default case %d", args[0]); - } +// } } void Scumm_v8::o8_kludge2() -- cgit v1.2.3