From f0f2506dcc898c8d615bc248c310bd06b514e92d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 19 Jul 2021 17:38:01 +0200 Subject: [PATCH] Forgot to pass the flags to GetFilesInDir to mimic the old behavior --- Core/FileSystems/DirectoryFileSystem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/FileSystems/DirectoryFileSystem.cpp b/Core/FileSystems/DirectoryFileSystem.cpp index 6e14d903e0..645ef15df6 100644 --- a/Core/FileSystems/DirectoryFileSystem.cpp +++ b/Core/FileSystems/DirectoryFileSystem.cpp @@ -861,7 +861,8 @@ std::vector DirectoryFileSystem::GetDirListing(std::string path) { std::vector files; Path localPath = GetLocalPath(path); - if (!File::GetFilesInDir(localPath, &files, nullptr, 0)) { + const int flags = File::GETFILES_GETHIDDEN | File::GETFILES_GET_NAVIGATION_ENTRIES; + if (!File::GetFilesInDir(localPath, &files, nullptr, flags)) { // TODO: Case sensitivity should be checked on a file system basis, right? #if HOST_IS_CASE_SENSITIVE if (FixPathCase(basePath, path, FPC_FILE_MUST_EXIST)) {