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 dba2eeacb7..cd118ade30 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -314,6 +314,11 @@ static int runGame(GameDetector &detector, OSystem &system, const Common::String if (ConfMan.hasKey("extrapath", Common::ConfigManager::kApplicationDomain)) Common::File::addDefaultDirectoryRecursive(ConfMan.get("extrapath", Common::ConfigManager::kApplicationDomain)); + // Theme-related + if (ConfMan.hasKey("themepath")) { + Common::File::addDefaultDirectory(ConfMan.get("themepath")); + } + // As a last resort add current directory and lock further additions Common::File::addDefaultDirectory(".", true); |