aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorWalter van Niftrik2009-05-12 12:56:22 +0000
committerWalter van Niftrik2009-05-12 12:56:22 +0000
commite7184402fb6d6bb4fe5d395220f141cf7aa59fab (patch)
tree05b1bf89b15c5796ea55c0642b327e5c9ac1a96d /engines/sci/engine
parenteec316443ea6b2775cd2dc13befc0ab7eec777a0 (diff)
downloadscummvm-rg350-e7184402fb6d6bb4fe5d395220f141cf7aa59fab.tar.gz
scummvm-rg350-e7184402fb6d6bb4fe5d395220f141cf7aa59fab.tar.bz2
scummvm-rg350-e7184402fb6d6bb4fe5d395220f141cf7aa59fab.zip
SCI: Sound: Send signal immediately for currently unsupported fade-and-continue.
svn-id: r40484
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/ksound.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp
index 27c9ccdbe1..3bd66f969c 100644
--- a/engines/sci/engine/ksound.cpp
+++ b/engines/sci/engine/ksound.cpp
@@ -904,6 +904,9 @@ reg_t kDoSound_SCI1(EngineState *s, int funct_nr, int argc, reg_t *argv) {
PUT_SEL32V(obj, handle, 0);
sfx_song_set_status(&s->sound,
handle, SOUND_STATUS_STOPPED);
+ } else {
+ // FIXME: Support fade-and-continue. For now, send signal right away.
+ PUT_SEL32V(obj, signal, -1);
}
}
break;