[Scummvm-cvs-logs] SF.net SVN: scummvm:[46607] scummvm/trunk/engines/sci/sfx/music.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Sat Dec 26 23:26:12 CET 2009
Revision: 46607
http://scummvm.svn.sourceforge.net/scummvm/?rev=46607&view=rev
Author: m_kiewitz
Date: 2009-12-26 22:26:12 +0000 (Sat, 26 Dec 2009)
Log Message:
-----------
SCI/newmusic: added state change to sample play as well
Modified Paths:
--------------
scummvm/trunk/engines/sci/sfx/music.cpp
Modified: scummvm/trunk/engines/sci/sfx/music.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/music.cpp 2009-12-26 21:47:59 UTC (rev 46606)
+++ scummvm/trunk/engines/sci/sfx/music.cpp 2009-12-26 22:26:12 UTC (rev 46607)
@@ -363,6 +363,7 @@
// 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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list