mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-21 18:25:02 +00:00
Only show 'Download Core' so far when no core is yet added
This commit is contained in:
parent
1b9d9647b0
commit
07e1f6e748
@ -2651,13 +2651,6 @@ static int menu_displaylist_parse_generic(
|
||||
|
||||
list_size = str_list->size;
|
||||
|
||||
#ifdef HAVE_NETWORKING
|
||||
if (hash_label == MENU_LABEL_CORE_LIST)
|
||||
menu_entries_add(info->list,
|
||||
"Download Core...",
|
||||
menu_hash_to_str(MENU_LABEL_CORE_UPDATER_LIST),
|
||||
MENU_SETTING_ACTION, 0, 0);
|
||||
#endif
|
||||
|
||||
|
||||
if (list_size == 0)
|
||||
@ -2667,6 +2660,13 @@ static int menu_displaylist_parse_generic(
|
||||
menu_entries_add(info->list,
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NO_ITEMS),
|
||||
"", MENU_SETTING_NO_ITEM, 0, 0);
|
||||
#ifdef HAVE_NETWORKING
|
||||
if (hash_label == MENU_LABEL_CORE_LIST)
|
||||
menu_entries_add(info->list,
|
||||
"Download Core...",
|
||||
menu_hash_to_str(MENU_LABEL_CORE_UPDATER_LIST),
|
||||
MENU_SETTING_ACTION, 0, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
string_list_free(str_list);
|
||||
|
Loading…
x
Reference in New Issue
Block a user