diff options
author | Walter van Niftrik | 2009-09-04 14:57:27 +0000 |
---|---|---|
committer | Walter van Niftrik | 2009-09-04 14:57:27 +0000 |
commit | dd0ebb71161de842fd376485a0abb0dc51865e65 (patch) | |
tree | 674de534d3e944f13fb6fc6cd91dcfb9cc038920 /engines/sci/engine | |
parent | c3a13a6ae634e4dbca81ab9623414a2bdf82ff26 (diff) | |
download | scummvm-rg350-dd0ebb71161de842fd376485a0abb0dc51865e65.tar.gz scummvm-rg350-dd0ebb71161de842fd376485a0abb0dc51865e65.tar.bz2 scummvm-rg350-dd0ebb71161de842fd376485a0abb0dc51865e65.zip |
SCI: Reset signal before playing song.
svn-id: r43940
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/ksound.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp index 219b844407..50aa7c8d7d 100644 --- a/engines/sci/engine/ksound.cpp +++ b/engines/sci/engine/ksound.cpp @@ -501,6 +501,7 @@ static reg_t kDoSoundSci1Early(EngineState *s, int argc, reg_t *argv) { s->_sound.sfx_song_set_loops(handle, looping); s->_sound.sfx_song_renice(handle, pri); s->_sound._songlib.setSongRestoreBehavior(handle, rb); + PUT_SEL32V(obj, signal, 0); } break; @@ -849,6 +850,7 @@ static reg_t kDoSoundSci1Late(EngineState *s, int argc, reg_t *argv) { s->_sound.sfx_song_set_status(handle, SOUND_STATUS_PLAYING); s->_sound.sfx_song_set_loops(handle, looping); s->_sound.sfx_song_renice(handle, pri); + PUT_SEL32V(obj, signal, 0); } break; |