[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.509,1.510

Eugene Sandulenko sev at users.sourceforge.net
Thu Sep 22 15:58:16 CEST 2005


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27827/simon

Modified Files:
	simon.cpp 
Log Message:
Fix regression introduced when we split engine constructiors into
constructor itself and init() method. debug() and error() are dependent
on _debug object in many engines, so if these methods were called on early
stage, scummvm crashed.


Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.509
retrieving revision 1.510
diff -u -d -r1.509 -r1.510
--- simon.cpp	11 Aug 2005 18:08:55 -0000	1.509
+++ simon.cpp	22 Sep 2005 22:55:01 -0000	1.510
@@ -276,6 +276,8 @@
 	_vc_get_out_of_code = 0;
 	_gameOffsetsPtr = 0;
 
+	_debugger = 0;
+
 	const SimonGameSettings *g = simon_settings;
 	while (g->name) {
 		if (!scumm_stricmp(detector->_game.name, g->name))





More information about the Scummvm-git-logs mailing list