diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp index 38e93e2961..5a87659046 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -190,6 +190,11 @@ static int runGame(const Plugin *plugin, OSystem &system, const Common::String & if (ConfMan.hasKey("extrapath", Common::ConfigManager::kApplicationDomain)) Common::File::addDefaultDirectoryRecursive(ConfMan.get("extrapath", Common::ConfigManager::kApplicationDomain)); +#ifdef DATA_PATH + // Add the global DATA_PATH to the directory search list + Common::File::addDefaultDirectoryRecursive(DATA_PATH); +#endif + // On creation the engine should've set up all debug levels so we can use // the command line arugments here Common::enableSpecialDebugLevelList(edebuglevels); |