aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorJohannes Schickel2014-01-23 14:22:29 -0800
committerJohannes Schickel2014-01-23 14:22:29 -0800
commit29eeb91d4e0f7862815cd3129441ba3dfeee85c1 (patch)
treebf805053a5a31201b322b200a90bfc3bd788a003 /base
parent6927e570bbbd69886b5fe2c2ce484ae236af61db (diff)
parent65931d74e3a20632afb363c20d0692382cf6a134 (diff)
downloadscummvm-rg350-29eeb91d4e0f7862815cd3129441ba3dfeee85c1.tar.gz
scummvm-rg350-29eeb91d4e0f7862815cd3129441ba3dfeee85c1.tar.bz2
scummvm-rg350-29eeb91d4e0f7862815cd3129441ba3dfeee85c1.zip
Merge pull request #423 from lordhoto/engine-path-setup
ENGINES: Make game path addition to SearchMan fully configurable
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/main.cpp b/base/main.cpp
index c993dfa57a..abf75b7e7e 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -197,7 +197,7 @@ static Common::Error runGame(const EnginePlugin *plugin, OSystem &system, const
//
// Add the game path to the directory search list
- SearchMan.addDirectory(dir.getPath(), dir, 0, 4);
+ engine->initializePath(dir);
// Add extrapath (if any) to the directory search list
if (ConfMan.hasKey("extrapath")) {