diff options
author | Jonathan Gray | 2003-02-18 23:59:54 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-02-18 23:59:54 +0000 |
commit | 5c0cfe392b8cb92ef421bed731c3775c9cbd1b39 (patch) | |
tree | c2310a154ad489855129f5b9b45d08b4191fa862 /scumm/script_v6.cpp | |
parent | 719784dd6abcf25678e62a4d534f1f5cd996947c (diff) | |
download | scummvm-rg350-5c0cfe392b8cb92ef421bed731c3775c9cbd1b39.tar.gz scummvm-rg350-5c0cfe392b8cb92ef421bed731c3775c9cbd1b39.tar.bz2 scummvm-rg350-5c0cfe392b8cb92ef421bed731c3775c9cbd1b39.zip |
stub opcode E0 which makes moondemo and fbdemo start yay
svn-id: r6624
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index f71fcbbd24..5a088495bc 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -324,7 +324,7 @@ void Scumm_v6::setupOpcodes() OPCODE(o6_deleteFile), OPCODE(o6_invalid), /* E0 */ - OPCODE(o6_invalid), + OPCODE(o6_unknownE0), OPCODE(o6_invalid), OPCODE(o6_invalid), OPCODE(o6_pickVarRandom), @@ -2982,6 +2982,23 @@ void Scumm_v6::o6_getDateTime() _vars[VAR_TIMEDATE_SECOND] = t->tm_sec; } +void Scumm_v6::o6_unknownE0() { + int a = fetchScriptByte(); + warning("o6_unknownEO(%d) stub", a); + a -= 222; + if (a != 0) { + a--; + a--; + if (a != 0) { + return; + } + pop(); + return; + } + pop(); + return; +} + void Scumm_v6::decodeParseString(int m, int n) { byte b; |