diff options
author | Jonathan Gray | 2003-04-20 15:02:58 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-04-20 15:02:58 +0000 |
commit | 4c6676d390ba1bc3828a3e53fda08476b26164a3 (patch) | |
tree | 266c417130a553ad2ea49f0f1e733444dff0dcbe /scumm/script_v6.cpp | |
parent | 90dd401eab37150f6097c1620257d60cd5f1375c (diff) | |
download | scummvm-rg350-4c6676d390ba1bc3828a3e53fda08476b26164a3.tar.gz scummvm-rg350-4c6676d390ba1bc3828a3e53fda08476b26164a3.tar.bz2 scummvm-rg350-4c6676d390ba1bc3828a3e53fda08476b26164a3.zip |
add opcode e4 stub that I meant to add some time ago
svn-id: r7028
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index eaba870287..dc709761d4 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -327,7 +327,7 @@ void Scumm_v6::setupOpcodes() { OPCODE(o6_localizeArray), OPCODE(o6_pickVarRandom), /* E4 */ - OPCODE(o6_invalid), + OPCODE(o6_unknownE4), OPCODE(o6_invalid), OPCODE(o6_invalid), OPCODE(o6_invalid), @@ -1447,8 +1447,11 @@ void Scumm_v6::o6_resourceRoutines() { void Scumm_v6::o6_roomOps() { int a, b, c, d, e; + byte op; - switch (fetchScriptByte()) { + op = fetchScriptByte(); + + switch (op) { case 172: /* room scroll */ b = pop(); a = pop(); @@ -1567,7 +1570,7 @@ void Scumm_v6::o6_roomOps() { break; default: - error("o6_roomOps: default case"); + error("o6_roomOps: default case %d", op); } } @@ -1855,7 +1858,7 @@ void Scumm_v6::o6_verbOps() { verbMouseOver(0); break; default: - error("o6_verbops: default case"); + error("o6_verbops: default case %d", op); } } @@ -2978,6 +2981,9 @@ void Scumm_v6::o6_unknownE0() { } } +void Scumm_v6::o6_unknownE4() { + warning("o6_unknownE4(%d) stub", pop()); +} void Scumm_v6::o6_localizeArray() { warning("stub localizeArray(%d)", pop()); } |