diff options
author | Bastien Bouclet | 2019-01-30 06:24:06 +0100 |
---|---|---|
committer | Bastien Bouclet | 2019-01-30 06:48:32 +0100 |
commit | 662791a9616fe5bd9eb81e7e231785b8e508cc70 (patch) | |
tree | 0a7384d9d16a8a9332f2a563dd3f9ab3a6b77136 /engines/advancedDetector.cpp | |
parent | 4b15cdb3b623edceed3642929ded31b5d4ec5beb (diff) | |
download | scummvm-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 'engines/advancedDetector.cpp')
-rw-r--r-- | engines/advancedDetector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp index 26b06b6417..10ddb0d073 100644 --- a/engines/advancedDetector.cpp +++ b/engines/advancedDetector.cpp @@ -244,7 +244,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, true)) { + if (!dir.isDirectory() || !dir.getChildren(files, Common::FSNode::kListAll)) { warning("Game data path does not exist or is not a directory (%s)", path.c_str()); return Common::kNoGameDataFoundError; } |