From c50940bbf4c9bde173cc3af22cf9b38a25df3514 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 23 Sep 2009 00:15:00 +0000 Subject: Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel. svn-id: r44266 --- engines/m4/m4.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'engines/m4/m4.cpp') 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"); -- cgit v1.2.3