diff options
author | James Brown | 2003-01-15 13:29:00 +0000 |
---|---|---|
committer | James Brown | 2003-01-15 13:29:00 +0000 |
commit | 4fde6134321dafba379ea8dda96ce173b2601d41 (patch) | |
tree | d7866461fdfb107d5bb436c0d0d0b2c993af51ec | |
parent | b1c570aa6ec368f22249dae0cb9baf2848ced8d1 (diff) | |
download | scummvm-rg350-4fde6134321dafba379ea8dda96ce173b2601d41.tar.gz scummvm-rg350-4fde6134321dafba379ea8dda96ce173b2601d41.tar.bz2 scummvm-rg350-4fde6134321dafba379ea8dda96ce173b2601d41.zip |
Hack to make Part III start
svn-id: r6467
-rw-r--r-- | scumm/script_v8.cpp | 10 | ||||
-rw-r--r-- | scumm/scumm.h | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index 7ecd004fc6..cf6822cd86 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -1530,13 +1530,15 @@ void Scumm_v8::o8_kernelGetFunctions() push(0); } break; + case 0xE1: // imGetMusicPosition + warning("o8_kernelGetFunctions: imGetMusicPosition(stub)\n"); + push(0xFFFFF); + break; case 0xE2: // musicLipSyncWidth case 0xE3: // musicLipSyncHeight // TODO - get lip sync data for the currently active music - // FIXME: These are needed for the song intro to Part III - the scene will freeze - // without them. - warning("o8_kernelGetFunctions: default case 0x%x (len = %d)", args[0], len); - push(255); + //warning("o8_kernelGetFunctions: musicLipSync(case 0x%x, len = %d)", args[0], len); + push(_rnd.getRandomNumber(255)); break; default: error("o8_kernelGetFunctions: default case 0x%x (len = %d)", args[0], len); diff --git a/scumm/scumm.h b/scumm/scumm.h index 69c524774d..3b0ee69a12 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -254,7 +254,7 @@ public: byte cutSceneStackPointer; ScriptSlot slot[NUM_SCRIPT_SLOT]; NestedScript nest[15]; - int16 localvar[NUM_SCRIPT_SLOT][17]; + int32 localvar[NUM_SCRIPT_SLOT][17]; } vm; struct { |