diff options
author | Travis Howell | 2004-08-28 11:01:01 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-28 11:01:01 +0000 |
commit | d552e6d8ea8cb16e91f41977d1aab0e02d6accd3 (patch) | |
tree | 80fc951849a6b814a2a429f3aa01658d7407fccb /scumm | |
parent | 1c390ece72081fc99e4b63c15792a05d4c879926 (diff) | |
download | scummvm-rg350-d552e6d8ea8cb16e91f41977d1aab0e02d6accd3.tar.gz scummvm-rg350-d552e6d8ea8cb16e91f41977d1aab0e02d6accd3.tar.bz2 scummvm-rg350-d552e6d8ea8cb16e91f41977d1aab0e02d6accd3.zip |
Add stub
svn-id: r14810
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/intern.h | 1 | ||||
-rw-r--r-- | scumm/script_v72he.cpp | 51 |
2 files changed, 51 insertions, 1 deletions
diff --git a/scumm/intern.h b/scumm/intern.h index a455dd48ee..2f42b8300a 100644 --- a/scumm/intern.h +++ b/scumm/intern.h @@ -690,6 +690,7 @@ protected: void o72_wordArrayIndexedWrite(); void o72_compareStackList(); void o72_unknown1C(); + void o72_unknown26(); void o72_unknown50(); void o72_wordArrayInc(); void o72_objectX(); diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 5650a1d2d2..f332eda2df 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -93,7 +93,7 @@ void ScummEngine_v72he::setupOpcodes() { /* 24 */ OPCODE(o6_invalid), OPCODE(o6_invalid), - OPCODE(o6_invalid), + OPCODE(o72_unknown26), OPCODE(o6_invalid), /* 28 */ OPCODE(o6_invalid), @@ -580,6 +580,55 @@ void ScummEngine_v72he::o72_unknown1C() { warning("o72_unknown1C stub (%d)", value); } +void ScummEngine_v72he::o72_unknown26() { + // Maybe HE 7.3? + // Incomplete + int args[16]; + int subOp = fetchScriptByte(); + switch (subOp) { + case 30: + case 31: + case 32: + case 33: + case 34: + case 35: + case 36: + case 37: + case 38: + case 39: + case 43: + case 52: + case 63: + case 68: + case 82: + case 92: + case 97: + case 98: + case 124: + pop(); + break; + case 42: + case 198: + pop(); + pop(); + break; + case 45: + pop(); + pop(); + pop(); + break; + case 125: + getStackList(args, ARRAYSIZE(args)); + pop(); + break; + default: + error("o72_unknown26: Unknown case %d", subOp); + } + push(0); + + warning("o72_unknown26 stub (%d)", subOp); +} + void ScummEngine_v72he::o72_wordArrayWrite() { int a = pop(); writeArray(fetchScriptWord(), 0, pop(), a); |