mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-30 19:50:24 +00:00
(Menu) Fix the empty setting list edge case. Prevents being stuck in an empty menu. Fixes #2509
This commit is contained in:
parent
beb01b5d57
commit
5874805fe4
@ -1633,7 +1633,7 @@ loop:
|
||||
menu_settings_list_increment(&setting);
|
||||
}
|
||||
|
||||
if (count == 0 && add_empty_entry)
|
||||
if (count <= 1 && 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…
Reference in New Issue
Block a user