From 6eb5c2f8096b8c25962a8c0970ab06010f3be9b6 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sat, 26 Dec 2009 22:26:12 +0000 Subject: SCI/newmusic: added state change to sample play as well svn-id: r46607 --- engines/sci/sfx/music.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3