diff options
-rw-r--r-- | common/fs.cpp | 2 | ||||
-rw-r--r-- | engines/advancedDetector.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/fs.cpp b/common/fs.cpp index 8aa1115f9d..4b56cc4594 100644 --- a/common/fs.cpp +++ b/common/fs.cpp @@ -256,7 +256,7 @@ void FSDirectory::cacheDirectoryRecursive(FSNode node, int depth, const String& return; FSList list; - node.getChildren(list, FSNode::kListAll, false); + node.getChildren(list, FSNode::kListAll, true); FSList::iterator it = list.begin(); for ( ; it != list.end(); ++it) { diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp index d864fe8b52..f95b5e8ecc 100644 --- a/engines/advancedDetector.cpp +++ b/engines/advancedDetector.cpp @@ -207,7 +207,7 @@ Common::Error AdvancedMetaEngine::createInstance(OSystem *syst, Engine **engine) } Common::FSNode dir(path); Common::FSList files; - if (!dir.isDirectory() || !dir.getChildren(files, Common::FSNode::kListAll)) { + if (!dir.isDirectory() || !dir.getChildren(files, Common::FSNode::kListAll, true)) { warning("Game data path does not exist or is not a directory (%s)", path.c_str()); return Common::kNoGameDataFoundError; } |