aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/plugin.cpp
diff options
context:
space:
mode:
authorMax Horn2006-05-01 21:31:06 +0000
committerMax Horn2006-05-01 21:31:06 +0000
commit77c29d0ab20de8fbdd7954602f3759d110eea2dd (patch)
treee5691b97406ba519feb935d8fdc4a01a883c8c5a /engines/scumm/plugin.cpp
parent7e3df42510a2da4de6bc41a3d41ea1f8ddbcd54f (diff)
downloadscummvm-rg350-77c29d0ab20de8fbdd7954602f3759d110eea2dd.tar.gz
scummvm-rg350-77c29d0ab20de8fbdd7954602f3759d110eea2dd.tar.bz2
scummvm-rg350-77c29d0ab20de8fbdd7954602f3759d110eea2dd.zip
Some cleanup, and added a FIXME comment concerning the wrong usage of getSavePath()
svn-id: r22266
Diffstat (limited to 'engines/scumm/plugin.cpp')
-rw-r--r--engines/scumm/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp
index 61cd5a418b..5764820e22 100644
--- a/engines/scumm/plugin.cpp
+++ b/engines/scumm/plugin.cpp
@@ -1302,13 +1302,13 @@ PluginError Engine_SCUMM_create(OSystem *syst, Engine **engine) {
}
-
FilesystemNode dir;
if (ConfMan.hasKey("path") )
dir = FilesystemNode(ConfMan.get("path"));
FSList fslist = dir.listDir(FilesystemNode::kListFilesOnly);
Common::List<DetectorResult> results;
+
// Invoke the detector, but fixed to the specified gameid.
detectGames(fslist, results, gameid);