aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
diff options
context:
space:
mode:
authorJames Brown2003-01-15 13:29:00 +0000
committerJames Brown2003-01-15 13:29:00 +0000
commit4fde6134321dafba379ea8dda96ce173b2601d41 (patch)
treed7866461fdfb107d5bb436c0d0d0b2c993af51ec /scumm/script_v8.cpp
parentb1c570aa6ec368f22249dae0cb9baf2848ced8d1 (diff)
downloadscummvm-rg350-4fde6134321dafba379ea8dda96ce173b2601d41.tar.gz
scummvm-rg350-4fde6134321dafba379ea8dda96ce173b2601d41.tar.bz2
scummvm-rg350-4fde6134321dafba379ea8dda96ce173b2601d41.zip
Hack to make Part III start
svn-id: r6467
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r--scumm/script_v8.cpp10
1 files changed, 6 insertions, 4 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);