mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-26 17:50:56 +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))
|
||||
{
|
||||
/* 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)
|
||||
dir_list_read(file_path, list, ext_list, include_dirs,
|
||||
include_hidden, include_compressed, recursive);
|
||||
|
Loading…
Reference in New Issue
Block a user