[Scummvm-cvs-logs] CVS: scummvm/common gameDetector.cpp,1.14,1.15

Max Horn fingolfin at users.sourceforge.net
Tue Oct 1 16:10:41 CEST 2002


Update of /cvsroot/scummvm/scummvm/common
In directory usw-pr-cvs1:/tmp/cvs-serv32318/common

Modified Files:
	gameDetector.cpp 
Log Message:
don't print usage information if no params are given

Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- gameDetector.cpp	30 Sep 2002 00:55:47 -0000	1.14
+++ gameDetector.cpp	1 Oct 2002 23:08:54 -0000	1.15
@@ -174,13 +174,6 @@
 	char c;
 	_save_slot = -1;
 
-	// check for arguments
-	if (argc < 2) {
-		printf(USAGE_STRING);
-		//exit(1);
-	}
-
-	g_config->set_domain("game-specific");
 	/* Parse the arguments */
 	for (i = argc - 1; i >= 1; i--) {
 		s = argv[i];





More information about the Scummvm-git-logs mailing list