aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v70he.cpp
diff options
context:
space:
mode:
authorMax Horn2006-04-17 14:32:46 +0000
committerMax Horn2006-04-17 14:32:46 +0000
commitac24769196e238485e9c365af3469db8a03b564a (patch)
tree9b4293b6da9e590b3a81e4679df7e37f5491356b /engines/scumm/he/script_v70he.cpp
parent2a0ba88aef12a2934201d14eedfc185bf22aaf76 (diff)
downloadscummvm-rg350-ac24769196e238485e9c365af3469db8a03b564a.tar.gz
scummvm-rg350-ac24769196e238485e9c365af3469db8a03b564a.tar.bz2
scummvm-rg350-ac24769196e238485e9c365af3469db8a03b564a.zip
Replaced o70_seekFilePos by o60_seekFilePos (both were identical)
svn-id: r21979
Diffstat (limited to 'engines/scumm/he/script_v70he.cpp')
-rw-r--r--engines/scumm/he/script_v70he.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/engines/scumm/he/script_v70he.cpp b/engines/scumm/he/script_v70he.cpp
index fc8c0874c4..15536fe895 100644
--- a/engines/scumm/he/script_v70he.cpp
+++ b/engines/scumm/he/script_v70he.cpp
@@ -334,7 +334,7 @@ void ScummEngine_v70he::setupOpcodes() {
OPCODE(o6_invalid),
/* E8 */
OPCODE(o6_invalid),
- OPCODE(o70_seekFilePos),
+ OPCODE(o60_seekFilePos),
OPCODE(o60_redimArray),
OPCODE(o60_readFilePos),
/* EC */
@@ -714,30 +714,6 @@ void ScummEngine_v70he::o70_systemOps() {
}
}
-void ScummEngine_v70he::o70_seekFilePos() {
- int mode, offset, slot;
- mode = pop();
- offset = pop();
- slot = pop();
-
- if (slot == -1)
- return;
-
- switch (mode) {
- case 1:
- _hFileTable[slot].seek(offset, SEEK_SET);
- break;
- case 2:
- _hFileTable[slot].seek(offset, SEEK_CUR);
- break;
- case 3:
- _hFileTable[slot].seek(offset, SEEK_END);
- break;
- default:
- error("o70_seekFilePos: default case 0x%x", mode);
- }
-}
-
void ScummEngine_v70he::o70_copyString() {
int dst, size;
int src = pop();