Skip to content

Commit

Permalink
Exclude "System Volume Information" explicitly.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanvb committed Oct 25, 2023
1 parent 5356afc commit 95ce2a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libretro-common/lists/dir_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ static int dir_list_read(const char *dir,

if (retro_dirent_is_dir(entry, NULL))
{
/* Do not include the typical hidden dir */
if (!include_hidden && strcmp(name, "System Volume Information") == 0)
continue;

if (recursive)
dir_list_read(file_path, list, ext_list, include_dirs,
include_hidden, include_compressed, recursive);
Expand Down

0 comments on commit 95ce2a9

Please sign in to comment.