added o6_stopSound and fixed compilation
svn-id: r6083
This commit is contained in:
parent
57cdbd0abb
commit
8a6f6da967
1 changed files with 8 additions and 8 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue