[Scummvm-cvs-logs] CVS: scummvm/bs2/driver d_sound.cpp,1.41,1.42

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Fri Sep 5 08:38:09 CEST 2003


Update of /cvsroot/scummvm/scummvm/bs2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv27423/driver

Modified Files:
	d_sound.cpp 
Log Message:
This fixes another music-related crash for me. I guess it's our
implementation of music fade-out that makes it a bad thing to close the
music cluster file prematurely.


Index: d_sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/d_sound.cpp,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- d_sound.cpp	5 Sep 2003 12:19:40 -0000	1.41
+++ d_sound.cpp	5 Sep 2003 15:37:51 -0000	1.42
@@ -1412,10 +1412,6 @@
 		else
 			musLooping[i] = 0;
 	}
-
-	if (fpMus.isOpen()) {
-		fpMus.close();
-	}
 }
 
 int32 Sword2Sound::PauseMusic(void) {





More information about the Scummvm-git-logs mailing list