[Scummvm-cvs-logs] CVS: scummvm/sword2/driver d_sound.cpp,1.86,1.87

Max Horn fingolfin at users.sourceforge.net
Thu Dec 18 17:09:14 CET 2003


Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv25922/sword2/driver

Modified Files:
	d_sound.cpp 
Log Message:
unregister the premix proc when you go away

Index: d_sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/d_sound.cpp,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- d_sound.cpp	19 Dec 2003 00:27:09 -0000	1.86
+++ d_sound.cpp	19 Dec 2003 01:08:30 -0000	1.87
@@ -140,6 +140,7 @@
 }
 
 Sound::~Sound() {
+	_vm->_mixer->setupPremix(0, 0);
 	if (_mutex)
 		_vm->_system->delete_mutex(_mutex);
 }





More information about the Scummvm-git-logs mailing list