aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/imuse_digi
diff options
context:
space:
mode:
authorPaweł Kołodziejski2006-02-19 23:25:27 +0000
committerPaweł Kołodziejski2006-02-19 23:25:27 +0000
commit1fb19714e24c2a3e73e45d026d7c12ab3202a421 (patch)
tree2392fefb1008e967b1a8e609b2567f6ba8fbc9ee /engines/scumm/imuse_digi
parentc17536823004d7235496132ea10a02718b525ecf (diff)
downloadscummvm-rg350-1fb19714e24c2a3e73e45d026d7c12ab3202a421.tar.gz
scummvm-rg350-1fb19714e24c2a3e73e45d026d7c12ab3202a421.tar.bz2
scummvm-rg350-1fb19714e24c2a3e73e45d026d7c12ab3202a421.zip
added experimental hook handle on 8,9 sub opcode music
svn-id: r20779
Diffstat (limited to 'engines/scumm/imuse_digi')
-rw-r--r--engines/scumm/imuse_digi/dimuse_music.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_music.cpp b/engines/scumm/imuse_digi/dimuse_music.cpp
index 4c0cedc57c..4c7b30c701 100644
--- a/engines/scumm/imuse_digi/dimuse_music.cpp
+++ b/engines/scumm/imuse_digi/dimuse_music.cpp
@@ -292,11 +292,13 @@ void IMuseDigital::playComiMusic(const char *songName, const imuseComiTable *tab
}
}
- switch(table->opcode) {
+ switch (table->opcode) {
case 0:
+ fadeOutMusic(120);
+ break;
case 8:
case 9:
- fadeOutMusic(120);
+ setHookId(table->soundId, table->soundId);
break;
case 1:
if (table->filename[0] == 0) {