mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Exclude "System Volume Information" explicitly. (#15833)
This commit is contained in:
parent
dfeeb031fe
commit
9d46953fa2
@ -184,6 +184,11 @@ static int dir_list_read(const char *dir,
|
|||||||
|
|
||||||
if (retro_dirent_is_dir(entry, NULL))
|
if (retro_dirent_is_dir(entry, NULL))
|
||||||
{
|
{
|
||||||
|
/* Exclude this frequent hidden dir on platforms which can not handle hidden attribute */
|
||||||
|
#ifndef _WIN32
|
||||||
|
if (!include_hidden && strcmp(name, "System Volume Information") == 0)
|
||||||
|
continue;
|
||||||
|
#endif
|
||||||
if (recursive)
|
if (recursive)
|
||||||
dir_list_read(file_path, list, ext_list, include_dirs,
|
dir_list_read(file_path, list, ext_list, include_dirs,
|
||||||
include_hidden, include_compressed, recursive);
|
include_hidden, include_compressed, recursive);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user