aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/groovie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/groovie/groovie.cpp')
-rw-r--r--engines/groovie/groovie.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/groovie/groovie.cpp b/engines/groovie/groovie.cpp
index 35aa4721e7..0beccbd6c1 100644
--- a/engines/groovie/groovie.cpp
+++ b/engines/groovie/groovie.cpp
@@ -41,9 +41,10 @@ GroovieEngine::GroovieEngine(OSystem *syst, const GroovieGameDescription *gd) :
_graphicsMan(NULL), _waitingForInput(false) {
// Adding the default directories
- SearchMan.addSubDirectoryMatching(_gameDataDir, "groovie");
- SearchMan.addSubDirectoryMatching(_gameDataDir, "media");
- SearchMan.addSubDirectoryMatching(_gameDataDir, "system");
+ const Common::FSNode gameDataDir(ConfMan.get("path"));
+ SearchMan.addSubDirectoryMatching(gameDataDir, "groovie");
+ SearchMan.addSubDirectoryMatching(gameDataDir, "media");
+ SearchMan.addSubDirectoryMatching(gameDataDir, "system");
// Initialize the custom debug levels
DebugMan.addDebugChannel(kGroovieDebugAll, "All", "Debug everything");