mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
(content collection list) Filter out directories
This commit is contained in:
parent
7702aabd57
commit
3486d62e36
@ -1637,6 +1637,9 @@ static int menu_displaylist_parse_generic(menu_displaylist_info_t *info, bool *n
|
|||||||
switch (hash_label)
|
switch (hash_label)
|
||||||
{
|
{
|
||||||
case MENU_LABEL_CONTENT_COLLECTION_LIST:
|
case MENU_LABEL_CONTENT_COLLECTION_LIST:
|
||||||
|
if (is_dir)
|
||||||
|
continue;
|
||||||
|
|
||||||
file_type = MENU_FILE_PLAYLIST_COLLECTION;
|
file_type = MENU_FILE_PLAYLIST_COLLECTION;
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_CORE_LIST:
|
case MENU_LABEL_CORE_LIST:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user