aboutsummaryrefslogtreecommitdiff
path: root/common/fs.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2019-01-30 06:24:06 +0100
committerBastien Bouclet2019-01-30 06:48:32 +0100
commit662791a9616fe5bd9eb81e7e231785b8e508cc70 (patch)
tree0a7384d9d16a8a9332f2a563dd3f9ab3a6b77136 /common/fs.cpp
parent4b15cdb3b623edceed3642929ded31b5d4ec5beb (diff)
downloadscummvm-rg350-662791a9616fe5bd9eb81e7e231785b8e508cc70.tar.gz
scummvm-rg350-662791a9616fe5bd9eb81e7e231785b8e508cc70.tar.bz2
scummvm-rg350-662791a9616fe5bd9eb81e7e231785b8e508cc70.zip
COMMON: Include hidden files in directory listings by default
Hidden files are now only ignored in the GUI file browser when the user has not checked 'show hidden files'. Myst III has the hidden flag set for one of the directories containing datafiles on the CD-ROM. When users copy the files to their hard drives the hidden flag is kept. Detection worked previously because hidden files were explicitly requested in the AD code. The engine would fail to open the datafiles because SearchMan.addSubDirectoryMatching ignored hidden directories.
Diffstat (limited to 'common/fs.cpp')
-rw-r--r--common/fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fs.cpp b/common/fs.cpp
index d93270ff0d..54fdf892f2 100644
--- a/common/fs.cpp
+++ b/common/fs.cpp
@@ -257,7 +257,7 @@ void FSDirectory::cacheDirectoryRecursive(FSNode node, int depth, const String&
return;
FSList list;
- node.getChildren(list, FSNode::kListAll, true);
+ node.getChildren(list, FSNode::kListAll);
FSList::iterator it = list.begin();
for ( ; it != list.end(); ++it) {