[Scummvm-cvs-logs] CVS: scummvm/common gameDetector.cpp,1.149,1.150

Travis Howell kirben at users.sourceforge.net
Fri Sep 5 20:57:07 CEST 2003


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv815/common

Modified Files:
	gameDetector.cpp 
Log Message:

Game failure message shouldn't be a debug either.


Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.cpp,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- gameDetector.cpp	6 Sep 2003 03:48:08 -0000	1.149
+++ gameDetector.cpp	6 Sep 2003 03:56:41 -0000	1.150
@@ -595,8 +595,7 @@
 	g_config->delete_domain("_COMMAND_LINE");
 	g_config->delete_domain("_USER_OVERRIDES");
 	g_config->set_domain(name);
-	if (_debugMode)
-		debug(1, "Debuglevel (from config): %d", _debugLevel);
+	debug(1, "Debuglevel (from config): %d", _debugLevel);
 }
 
 int GameDetector::parseGraphicsMode(const char *s) {
@@ -699,7 +698,7 @@
 		}
 	} while ((++gnl)->filename);
 
-	debug(1, "Failed game detection");
+	printf("Failed game detection\n");
 
 	return false;
 }





More information about the Scummvm-git-logs mailing list