aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2006-04-09 22:05:05 +0000
committerMax Horn2006-04-09 22:05:05 +0000
commitcd5b1fee40b72a4a8087767fcd73779b0c4c035b (patch)
tree448bf85e95f20135537d178574d6da13c4e54d28
parent39a2bc6812ae2ff5b54443999d7e7076f924872d (diff)
downloadscummvm-rg350-cd5b1fee40b72a4a8087767fcd73779b0c4c035b.tar.gz
scummvm-rg350-cd5b1fee40b72a4a8087767fcd73779b0c4c035b.tar.bz2
scummvm-rg350-cd5b1fee40b72a4a8087767fcd73779b0c4c035b.zip
Removed some obsolete code
svn-id: r21735
-rw-r--r--engines/scumm/plugin.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp
index bf7c7fa371..4944aab137 100644
--- a/engines/scumm/plugin.cpp
+++ b/engines/scumm/plugin.cpp
@@ -1527,15 +1527,7 @@ DetectedGameList Engine_SCUMM_detectGames(const FSList &fslist) {
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