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.
This commit is contained in:
parent
4b15cdb3b6
commit
662791a961
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue