aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2008-10-22 23:30:21 +0000
committerTravis Howell2008-10-22 23:30:21 +0000
commit85174e8504bd5713859ac9632ec8a536d5213d9e (patch)
treeb64f2d2f6ad04a71c92f58f4faf041dc41aca86e
parenta2d961a827b2b6f398102a8f593ee7a87156ec06 (diff)
downloadscummvm-rg350-85174e8504bd5713859ac9632ec8a536d5213d9e.tar.gz
scummvm-rg350-85174e8504bd5713859ac9632ec8a536d5213d9e.tar.bz2
scummvm-rg350-85174e8504bd5713859ac9632ec8a536d5213d9e.zip
Add game path with a depth of level 4, to prevent regressions when loading files in HE arcade games again.
svn-id: r34842
-rw-r--r--base/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 434a7b7b83..4245e6c3b1 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -186,7 +186,7 @@ static int runGame(const EnginePlugin *plugin, OSystem &system, const Common::St
// found this issue on lost-win-demo at first. Thus, in commit 34450, searching the
// game path was made recursive as a temporary fix/workaround.
dir = Common::FSNode(path);
- SearchMan.addDirectory(dir.getPath(), dir);
+ SearchMan.addDirectory(dir.getPath(), dir, 0, 4);
// Add extrapath (if any) to the directory search list
if (ConfMan.hasKey("extrapath")) {