mirror of
https://github.com/libretro/RetroArch
synced 2025-03-04 07:13:26 +00:00
Merge pull request #2517 from lakkatv/master
(Menu) Fix a regression in menu_displaylist_parse_settings
This commit is contained in:
commit
85f62ca1d2
@ -1559,6 +1559,7 @@ int menu_displaylist_parse_settings(void *data, menu_displaylist_info_t *info,
|
||||
switch (type)
|
||||
{
|
||||
case ST_GROUP:
|
||||
case ST_END_GROUP:
|
||||
case ST_SUB_GROUP:
|
||||
case ST_END_SUB_GROUP:
|
||||
goto loop;
|
||||
@ -1633,7 +1634,7 @@ loop:
|
||||
menu_settings_list_increment(&setting);
|
||||
}
|
||||
|
||||
if (count <= 1 && add_empty_entry)
|
||||
if (count == 0 && add_empty_entry)
|
||||
menu_entries_push(info->list,
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NO_SETTINGS_FOUND),
|
||||
menu_hash_to_str(MENU_LABEL_NO_SETTINGS_FOUND),
|
||||
|
Loading…
x
Reference in New Issue
Block a user