[Scummvm-cvs-logs] CVS: scummvm/base gameDetector.cpp,1.23,1.24

Max Horn fingolfin at users.sourceforge.net
Sun Oct 12 12:11:02 CEST 2003


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1:/tmp/cvs-serv1263/base

Modified Files:
	gameDetector.cpp 
Log Message:
some more target<->game cleanup

Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- gameDetector.cpp	12 Oct 2003 18:40:08 -0000	1.23
+++ gameDetector.cpp	12 Oct 2003 19:10:15 -0000	1.24
@@ -559,11 +559,6 @@
 	
 	if (target) {
 		_game = *target;
-		if (ConfMan.hasKey("basename")) {
-			// FIXME: What is this good for?
-			// FIXME: This leaks now!
-			_game.gameName = strdup(ConfMan.get("basename").c_str());
-		}
 		printf("Trying to start game '%s'\n", _game.description);
 		return true;
 	} else {





More information about the Scummvm-git-logs mailing list