aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2006-04-05 06:58:18 +0000
committerEugene Sandulenko2006-04-05 06:58:18 +0000
commitbaf2a06e0a283849b934105e924cad1081298e76 (patch)
treec3e794eed6d7e3d3d6b76a50f083a05ade8ffabf /base/main.cpp
parent935ea28e7ab107fe172fae16f50db7bda7fd591d (diff)
downloadscummvm-rg350-baf2a06e0a283849b934105e924cad1081298e76.tar.gz
scummvm-rg350-baf2a06e0a283849b934105e924cad1081298e76.tar.bz2
scummvm-rg350-baf2a06e0a283849b934105e924cad1081298e76.zip
Recursive current directory has a big overhead since it can point to
(a) scummvm source tree for dev (b) desktop with a:\ on Windows svn-id: r21627
Diffstat (limited to 'base/main.cpp')
-rw-r--r--base/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/main.cpp b/base/main.cpp
index af45630a2c..6256da4f5b 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -277,7 +277,7 @@ static int runGame(GameDetector &detector, OSystem &system, const Common::String
if (ConfMan.hasKey("path"))
Common::File::addDefaultDirectoryRecursive(ConfMan.get("path"));
else
- Common::File::addDefaultDirectoryRecursive(".");
+ Common::File::addDefaultDirectory(".");
// Add extrapath (if any) to the directory search list
if (ConfMan.hasKey("extrapath"))