aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-02-07 03:10:22 +0000
committerTravis Howell2004-02-07 03:10:22 +0000
commit33dcab8d6c2113d64e26882488a1b48651285476 (patch)
tree23231002395759a37e08aae029082803ce779440 /scumm
parentea3be081b7039d505c52ad453a6dbeabe5f56f36 (diff)
downloadscummvm-rg350-33dcab8d6c2113d64e26882488a1b48651285476.tar.gz
scummvm-rg350-33dcab8d6c2113d64e26882488a1b48651285476.tar.bz2
scummvm-rg350-33dcab8d6c2113d64e26882488a1b48651285476.zip
Add stub
svn-id: r12756
Diffstat (limited to 'scumm')
-rw-r--r--scumm/intern.h1
-rw-r--r--scumm/script_v6he.cpp22
2 files changed, 22 insertions, 1 deletions
diff --git a/scumm/intern.h b/scumm/intern.h
index cc42c1bd2e..64beeb4227 100644
--- a/scumm/intern.h
+++ b/scumm/intern.h
@@ -587,6 +587,7 @@ protected:
void o6_unknownE0();
void o6_unknownE1();
void o6_unknownE4();
+ void o6_seekFile();
void o6_localizeArray();
void o6_unknownFA();
void o6_unknownEA();
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();