aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/m4.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-09-23 00:15:00 +0000
committerJohannes Schickel2009-09-23 00:15:00 +0000
commitc50940bbf4c9bde173cc3af22cf9b38a25df3514 (patch)
tree54101a22c17e39db13339cd52f4c2909b33b86c4 /engines/m4/m4.cpp
parent75113ad5f325f7b6ab802becf845705f97dd629e (diff)
downloadscummvm-rg350-c50940bbf4c9bde173cc3af22cf9b38a25df3514.tar.gz
scummvm-rg350-c50940bbf4c9bde173cc3af22cf9b38a25df3514.tar.bz2
scummvm-rg350-c50940bbf4c9bde173cc3af22cf9b38a25df3514.zip
Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
svn-id: r44266
Diffstat (limited to 'engines/m4/m4.cpp')
-rw-r--r--engines/m4/m4.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/m4/m4.cpp b/engines/m4/m4.cpp
index b4973002a6..79ffd7bfd0 100644
--- a/engines/m4/m4.cpp
+++ b/engines/m4/m4.cpp
@@ -108,9 +108,8 @@ M4Engine::M4Engine(OSystem *syst, const M4GameDescription *gameDesc) :
// FIXME
_vm = this;
- Common::File::addDefaultDirectory(_gameDataDir);
- Common::File::addDefaultDirectory("goodstuf"); // FIXME: This is nonsense
- Common::File::addDefaultDirectory("resource"); // FIXME: This is nonsense
+ SearchMan.addSubDirectoryMatching(_gameDataDir, "goodstuf");
+ SearchMan.addSubDirectoryMatching(_gameDataDir, "resource");
Common::addDebugChannel(kDebugScript, "script", "Script debug level");
Common::addDebugChannel(kDebugConversations, "conversations", "Conversations debugging");