[Scummvm-cvs-logs] CVS: scummvm/scumm scumm.cpp,1.552,1.553

Jonathan Gray khalek at users.sourceforge.net
Sat Jul 16 10:15:56 CEST 2005


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

Modified Files:
	scumm.cpp 
Log Message:
Set SCUMM debug mode to be on if a boot param is specified.
This avoids having to use -d0 for scumm titles and alows
boot params from config files to work better.


Index: scumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.cpp,v
retrieving revision 1.552
retrieving revision 1.553
diff -u -d -r1.552 -r1.553
--- scumm.cpp	16 Jul 2005 00:22:28 -0000	1.552
+++ scumm.cpp	16 Jul 2005 17:10:50 -0000	1.553
@@ -1147,6 +1147,9 @@
 	_debugMode = (gDebugLevel >= 0);
 	_dumpScripts = detector->_dumpScripts;
 	_bootParam = ConfMan.getInt("boot_param");
+	// Boot params often need debugging switched on to work
+	if (_bootParam)
+		_debugMode = true;
 
 	// Allow the user to override the game name with a custom string.
 	// This allows some game versions to work which use filenames





More information about the Scummvm-git-logs mailing list