aboutsummaryrefslogtreecommitdiff
path: root/common/fs.cpp
diff options
context:
space:
mode:
authorAlyssa Milburn2011-10-08 14:29:48 +0200
committerAlyssa Milburn2011-10-08 14:36:34 +0200
commit2ffdd0d3b7d06d072c11db06cb4017d9948b205b (patch)
tree2f7eda0af38aa6bf4f8ca93ee507f15b05d7a907 /common/fs.cpp
parentd88827b13facfd089707f3a9edd34c8ce112ff20 (diff)
downloadscummvm-rg350-2ffdd0d3b7d06d072c11db06cb4017d9948b205b.tar.gz
scummvm-rg350-2ffdd0d3b7d06d072c11db06cb4017d9948b205b.tar.bz2
scummvm-rg350-2ffdd0d3b7d06d072c11db06cb4017d9948b205b.zip
COMMON: Include hidden files in FSDirectory cache and detection.
The cache issue has been discussed before, it breaks accessing files beginning with a dot on POSIX. The change to the advancedDetector to see hidden files was suggested by AdamRi on IRC.
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 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) {