diff options
author | Martin Kiewitz | 2009-12-26 22:26:12 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-12-26 22:26:12 +0000 |
commit | 6eb5c2f8096b8c25962a8c0970ab06010f3be9b6 (patch) | |
tree | 6fbe18e6bcf7d4ff791c97e3ba5baeed65846eca | |
parent | 0e513a306dae9485801ee39f1135891c36bf01f1 (diff) | |
download | scummvm-rg350-6eb5c2f8096b8c25962a8c0970ab06010f3be9b6.tar.gz scummvm-rg350-6eb5c2f8096b8c25962a8c0970ab06010f3be9b6.tar.bz2 scummvm-rg350-6eb5c2f8096b8c25962a8c0970ab06010f3be9b6.zip |
SCI/newmusic: added state change to sample play as well
svn-id: r46607
-rw-r--r-- | engines/sci/sfx/music.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/sfx/music.cpp b/engines/sci/sfx/music.cpp index c76c27c518..7989c30144 100644 --- a/engines/sci/sfx/music.cpp +++ b/engines/sci/sfx/music.cpp @@ -363,6 +363,7 @@ void SciMusic::onTimer() { // FIXME: is there any other place this can be triggered properly? SegManager *segMan = ((SciEngine *)g_engine)->getEngineState()->_segMan; PUT_SEL32V(segMan, _playList[i]->soundObj, signal, SIGNAL_OFFSET); + PUT_SEL32V(segMan, _playList[i]->soundObj, state, kSndStatusStopped); } else { _playList[i]->ticker = (uint16)(_pMixer->getSoundElapsedTime( _playList[i]->hCurrentAud) * 0.06); |