diff options
author | Martin Kiewitz | 2010-07-09 13:01:48 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-09 13:01:48 +0000 |
commit | b8933d7e8f1886cc22b0ef8face8ead4e890c3e6 (patch) | |
tree | e74de2d9a5307ed7814c59525960d7582591b0fd /engines/sci/sound | |
parent | b602e7071be26838288d9b8f162a3dff70b7927f (diff) | |
download | scummvm-rg350-b8933d7e8f1886cc22b0ef8face8ead4e890c3e6.tar.gz scummvm-rg350-b8933d7e8f1886cc22b0ef8face8ead4e890c3e6.tar.bz2 scummvm-rg350-b8933d7e8f1886cc22b0ef8face8ead4e890c3e6.zip |
SCI: removing unneeded mutex locking inside sci0 update cues
svn-id: r50758
Diffstat (limited to 'engines/sci/sound')
-rw-r--r-- | engines/sci/sound/soundcmd.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp index e3c78a06cb..b1ad11651f 100644 --- a/engines/sci/sound/soundcmd.cpp +++ b/engines/sci/sound/soundcmd.cpp @@ -584,8 +584,6 @@ void SoundCommandParser::updateSci0Cues() { bool noOnePlaying = true; MusicEntry *pWaitingForPlay = NULL; - _music->_mutex.lock(); - const MusicList::iterator end = _music->getPlayListEnd(); for (MusicList::iterator i = _music->getPlayListStart(); i != end; ++i) { // Is the sound stopped, and the sound object updated too? If yes, skip @@ -604,7 +602,6 @@ void SoundCommandParser::updateSci0Cues() { processUpdateCues((*i)->soundObj); noOnePlaying = false; } - _music->_mutex.unlock(); if (noOnePlaying && pWaitingForPlay) { // If there is a queued entry, play it now ffs: SciMusic::soundPlay() |