mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-30 14:53:39 +00:00
Correctly filter out non-directory entries for 'Scan Directory'
This commit is contained in:
parent
77d310a45d
commit
7634ffb4ac
@ -1987,6 +1987,8 @@ static int menu_displaylist_parse_generic(menu_displaylist_info_t *info, bool *n
|
||||
|
||||
if (push_dir && !is_dir)
|
||||
continue;
|
||||
if (hash_label == MENU_LABEL_SCAN_DIRECTORY && !is_dir)
|
||||
continue;
|
||||
|
||||
/* Need to preserve slash first time. */
|
||||
path = str_list->elems[i].data;
|
||||
|
Loading…
Reference in New Issue
Block a user