[Scummvm-cvs-logs] SF.net SVN: scummvm: [21735] scummvm/trunk/engines/scumm/plugin.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Apr 9 15:06:06 CEST 2006
Revision: 21735
Author: fingolfin
Date: 2006-04-09 15:05:05 -0700 (Sun, 09 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21735&view=rev
Log Message:
-----------
Removed some obsolete code
Modified Paths:
--------------
scummvm/trunk/engines/scumm/plugin.cpp
Modified: scummvm/trunk/engines/scumm/plugin.cpp
===================================================================
--- scummvm/trunk/engines/scumm/plugin.cpp 2006-04-09 22:03:29 UTC (rev 21734)
+++ scummvm/trunk/engines/scumm/plugin.cpp 2006-04-09 22:05:05 UTC (rev 21735)
@@ -1527,15 +1527,7 @@
if (!exactMatch)
detectedGames.clear(); // Clear all the non-exact candidates
- const char *gameid = elem->gameid;
-
- // Find the GameDescriptor for that gameid
- for (g = scumm_settings; g->gameid; ++g) {
- if (0 == scumm_stricmp(g->gameid, gameid))
- break;
- }
- assert(g->gameid);
- DetectedGame dg(g->gameid, findDescriptionFromGameID(g->gameid), elem->language);
+ DetectedGame dg(elem->gameid, findDescriptionFromGameID(elem->gameid), elem->language);
if (iter->_value == true) // This was HE Mac game
dg.platform = Common::kPlatformMacintosh;
else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list