mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Revert "Add better fallback for 'no items found'"
This reverts commit b208ce443c6d09786b45e73c521988847439610d.
This commit is contained in:
parent
b208ce443c
commit
788ded0138
@ -2390,18 +2390,18 @@ static int menu_displaylist_parse_generic(menu_displaylist_info_t *info, bool ho
|
||||
|
||||
string_list_free(str_list);
|
||||
|
||||
if (items_found == 0)
|
||||
{
|
||||
menu_entries_push(info->list,
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NO_ITEMS),
|
||||
"", MENU_SETTING_NO_ITEM, 0, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
switch (hash_label)
|
||||
{
|
||||
case MENU_LABEL_CORE_LIST:
|
||||
if (items_found == 0)
|
||||
{
|
||||
menu_entries_push(info->list,
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NO_ITEMS),
|
||||
"", MENU_SETTING_NO_ITEM, 0, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
{
|
||||
const char *dir = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user