diff options
Diffstat (limited to 'scumm/script_v6he.cpp')
-rw-r--r-- | scumm/script_v6he.cpp | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index fbc6c8bbb4..b068f3cc70 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -340,7 +340,7 @@ void ScummEngine_v6he::setupOpcodes() { OPCODE(o6_invalid), /* E8 */ OPCODE(o6_invalid), - OPCODE(o6_invalid), + OPCODE(o6_seekFile), OPCODE(o6_unknownEA), OPCODE(o6_invalid), /* EC */ @@ -1138,6 +1138,26 @@ void ScummEngine_v6he::o6_unknownFA() { _scriptPointer += len + 1; } +void ScummEngine_v6he::o6_seekFile() { + int a, b, c; + a = pop(); + b = pop(); + c = pop(); + + switch (a) { + case 1: + //seekWrapper(c, b, 0, 0); + break; + case 2: + //seekWrapper(c, b, ?, 1); + break; + default: + break; + } + + warning("stub o6_seekFile(%d, %d, %d)", a, b, c); +} + void ScummEngine_v6he::o6_unknownEA() { int edi, esi, eax; edi = pop(); |