From 849cfe4f0e5793caf648cb8fb030698c88c622f5 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Tue, 25 May 2010 15:38:30 +0000 Subject: SCI: dont lock mutex in pauseAll(), isn't needed anyway - fixes deadlock in sq4 svn-id: r49214 --- engines/sci/sound/music.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'engines/sci/sound') diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp index 86c7669df9..a623c0b4d2 100644 --- a/engines/sci/sound/music.cpp +++ b/engines/sci/sound/music.cpp @@ -115,8 +115,6 @@ void SciMusic::clearPlayList() { } void SciMusic::pauseAll(bool pause) { - Common::StackLock lock(_mutex); - const MusicList::iterator end = _playList.end(); for (MusicList::iterator i = _playList.begin(); i != end; ++i) { soundToggle(*i, pause); -- cgit v1.2.3