aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorMax Horn2011-04-18 17:50:54 +0200
committerMax Horn2011-04-18 18:22:03 +0200
commitcd2fcaf4ca338400ed8ee44566b9a767287efd69 (patch)
tree6ca2f6ba94b2dfc754957bbe700f85503a4de28f /engines/scumm
parent7c13aa48cd3f103564ac1807f1152d94f1863979 (diff)
downloadscummvm-rg350-cd2fcaf4ca338400ed8ee44566b9a767287efd69.tar.gz
scummvm-rg350-cd2fcaf4ca338400ed8ee44566b9a767287efd69.tar.bz2
scummvm-rg350-cd2fcaf4ca338400ed8ee44566b9a767287efd69.zip
COMMON: Remove kInvalidPathError
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index 87ec7b85a4..6db3ea740a 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -994,7 +994,7 @@ Common::Error ScummMetaEngine::createInstance(OSystem *syst, Engine **engine) co
Common::FSList fslist;
Common::FSNode dir(ConfMan.get("path"));
if (!dir.isDirectory())
- return Common::kInvalidPathError;
+ return Common::kPathNotDirectory;
if (!dir.getChildren(fslist, Common::FSNode::kListFilesOnly))
return Common::kNoGameDataFoundError;