aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2010-02-09 22:37:13 +0000
committerMax Horn2010-02-09 22:37:13 +0000
commitba1d97211fc20a838571c2821bf653990d5ef3a2 (patch)
tree5ffd60d525385a51eb6e064b223118eed04a4d46
parent52af1b38845a0e185a7243fab5eb18f497d08ebd (diff)
downloadscummvm-rg350-ba1d97211fc20a838571c2821bf653990d5ef3a2.tar.gz
scummvm-rg350-ba1d97211fc20a838571c2821bf653990d5ef3a2.tar.bz2
scummvm-rg350-ba1d97211fc20a838571c2821bf653990d5ef3a2.zip
Remove last traces of File::addDefaultDirectory
svn-id: r48027
-rw-r--r--common/file.h5
-rw-r--r--engines/draci/draci.cpp2
2 files changed, 3 insertions, 4 deletions
diff --git a/common/file.h b/common/file.h
index 8eb03f1629..d28cd9c308 100644
--- a/common/file.h
+++ b/common/file.h
@@ -52,9 +52,8 @@ public:
virtual ~File();
/**
- * Checks if a given file exists in any of the current default paths
- * (those were/are added by addDefaultDirectory and/or
- * addDefaultDirectoryRecursive).
+ * Checks if a given file exists in any of the current default paths,
+ * as defined by SearchMan.
*
* @param filename the file to check for
* @return true if the file exists, false otherwise
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp
index 2946b57019..31b2c28679 100644
--- a/engines/draci/draci.cpp
+++ b/engines/draci/draci.cpp
@@ -79,7 +79,7 @@ DraciEngine::DraciEngine(OSystem *syst, const ADGameDescription *gameDesc)
// Do not initialize graphics here
// However this is the place to specify all default directories
- //Common::File::addDefaultDirectory(_gameDataPath + "sound/");
+ //SearchMan.addSubDirectoryMatching(_gameDataDir, "sound");
// Here is the right place to set up the engine specific debug levels
Common::addDebugChannel(kDraciGeneralDebugLevel, "general", "Draci general debug info");