[Scummvm-cvs-logs] CVS: scummvm sound.cpp,1.104,1.105
Nicolas Bacca
arisme at users.sourceforge.net
Sat Jul 20 00:58:03 CEST 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv32218
Modified Files:
sound.cpp
Log Message:
Fixed Monkey Island 2 freeze when sound is paused
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound.cpp,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- sound.cpp 20 Jul 2002 05:04:06 -0000 1.104
+++ sound.cpp 20 Jul 2002 07:57:22 -0000 1.105
@@ -533,9 +533,13 @@
void Scumm::pauseSounds(bool pause)
{
+ /* Arisme : do not pause iMuse as this will disable synch events */
+ /* the sound is really "paused" in the mixer */
+ /*
IMuse *se = _imuse;
if (se)
se->pause(pause);
+ */
_soundsPaused = pause;
_mixer->pause(pause);
}
More information about the Scummvm-git-logs
mailing list