diff options
author | Martin Kiewitz | 2009-12-26 10:20:57 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-12-26 10:20:57 +0000 |
commit | c78c10b9ee4febba16614782c90975e7c85de36f (patch) | |
tree | 727d2a8e0e9233b12a8ea42789efef9ac9e9a527 /engines/sci | |
parent | ddce48ed03a0bb5c28c5f13e9e3c5016e3bed2a1 (diff) | |
download | scummvm-rg350-c78c10b9ee4febba16614782c90975e7c85de36f.tar.gz scummvm-rg350-c78c10b9ee4febba16614782c90975e7c85de36f.tar.bz2 scummvm-rg350-c78c10b9ee4febba16614782c90975e7c85de36f.zip |
SCI/newmusic: Removed mutex from onTimer, fixes freeze in sci1 games
svn-id: r46575
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/sfx/music.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/sfx/music.cpp b/engines/sci/sfx/music.cpp index b9159b1f83..b0ace2bea9 100644 --- a/engines/sci/sfx/music.cpp +++ b/engines/sci/sfx/music.cpp @@ -345,7 +345,7 @@ void SciMusic::soundInitSnd(MusicEntry *pSnd) { } //---------------------------------------- void SciMusic::onTimer() { - _mutex.lock(); +// _mutex.lock(); uint sz = _playList.size(); for (uint i = 0; i < sz; i++) { @@ -372,7 +372,7 @@ void SciMusic::onTimer() { } }//for() - _mutex.unlock(); +// _mutex.unlock(); } //--------------------------------------------- void SciMusic::doFade(MusicEntry *pSnd) { |