diff options
Diffstat (limited to 'engines/groovie')
-rw-r--r-- | engines/groovie/groovie.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/groovie/groovie.cpp b/engines/groovie/groovie.cpp index ac77ec3099..2ba4ed18ab 100644 --- a/engines/groovie/groovie.cpp +++ b/engines/groovie/groovie.cpp @@ -53,17 +53,6 @@ GroovieEngine::GroovieEngine(OSystem *syst, const GroovieGameDescription *gd) : _graphicsMan(NULL), _macResFork(NULL), _waitingForInput(false), _font(NULL), _spookyMode(false) { - // Adding the default directories - const Common::FSNode gameDataDir(ConfMan.get("path")); - SearchMan.addSubDirectoryMatching(gameDataDir, "groovie"); - SearchMan.addSubDirectoryMatching(gameDataDir, "media"); - SearchMan.addSubDirectoryMatching(gameDataDir, "system"); - SearchMan.addSubDirectoryMatching(gameDataDir, "MIDI"); - - _modeSpeed = kGroovieSpeedNormal; - if (ConfMan.hasKey("fast_movie_speed") && ConfMan.getBool("fast_movie_speed")) - _modeSpeed = kGroovieSpeedFast; - // Initialize the custom debug levels DebugMan.addDebugChannel(kDebugVideo, "Video", "Debug video and audio playback"); DebugMan.addDebugChannel(kDebugResource, "Resource", "Debug resource management"); @@ -75,6 +64,17 @@ GroovieEngine::GroovieEngine(OSystem *syst, const GroovieGameDescription *gd) : DebugMan.addDebugChannel(kDebugScriptvars, "Scriptvars", "Print out any change to script variables"); DebugMan.addDebugChannel(kDebugCell, "Cell", "Debug the cell game (in the microscope)"); DebugMan.addDebugChannel(kDebugFast, "Fast", "Play videos quickly, with no sound (unstable)"); + + // Adding the default directories + const Common::FSNode gameDataDir(ConfMan.get("path")); + SearchMan.addSubDirectoryMatching(gameDataDir, "groovie"); + SearchMan.addSubDirectoryMatching(gameDataDir, "media"); + SearchMan.addSubDirectoryMatching(gameDataDir, "system"); + SearchMan.addSubDirectoryMatching(gameDataDir, "MIDI"); + + _modeSpeed = kGroovieSpeedNormal; + if (ConfMan.hasKey("fast_movie_speed") && ConfMan.getBool("fast_movie_speed")) + _modeSpeed = kGroovieSpeedFast; } GroovieEngine::~GroovieEngine() { |