[Scummvm-cvs-logs] SF.net SVN: scummvm:[40922] scummvm/trunk/engines/sci/sfx/core.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue May 26 21:05:20 CEST 2009


Revision: 40922
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40922&view=rev
Author:   thebluegr
Date:     2009-05-26 19:05:20 +0000 (Tue, 26 May 2009)

Log Message:
-----------
Fixed a crash when exiting, a regression from the latest music driver changes

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sfx/core.cpp

Modified: scummvm/trunk/engines/sci/sfx/core.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/core.cpp	2009-05-26 15:46:54 UTC (rev 40921)
+++ scummvm/trunk/engines/sci/sfx/core.cpp	2009-05-26 19:05:20 UTC (rev 40922)
@@ -438,8 +438,10 @@
 		player = 0;
 	}
 
-	if (strcmp(player->name, "new") == 0)
-		g_system->getMixer()->stopAll();
+	// FIXME: player is deleted here by the code above, so this will crash.
+	// Is that code needed?
+	//if (strcmp(player->name, "new") == 0)
+	//	g_system->getMixer()->stopAll();
 
 	song_lib_free(self->songlib);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list