mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
(Menu) menu_entries_cbs_deferred_push.c - special cases come first
This commit is contained in:
parent
64e7376046
commit
18d2f1fd63
@ -453,6 +453,12 @@ static int deferred_push_default(menu_displaylist_info_t *info)
|
||||
int menu_entries_cbs_init_bind_deferred_push_compare_type(menu_file_list_cbs_t *cbs, unsigned type,
|
||||
uint32_t label_hash)
|
||||
{
|
||||
if (type == MENU_SETTING_GROUP)
|
||||
cbs->action_deferred_push = deferred_push_category;
|
||||
else if (type == MENU_FILE_PLAYLIST_COLLECTION)
|
||||
cbs->action_deferred_push = deferred_push_rdb_collection;
|
||||
else
|
||||
{
|
||||
switch (label_hash)
|
||||
{
|
||||
case MENU_LABEL_DEFERRED_CORE_UPDATER_LIST:
|
||||
@ -602,13 +608,7 @@ int menu_entries_cbs_init_bind_deferred_push_compare_type(menu_file_list_cbs_t *
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (type == MENU_SETTING_GROUP)
|
||||
cbs->action_deferred_push = deferred_push_category;
|
||||
else if (type == MENU_FILE_PLAYLIST_COLLECTION)
|
||||
cbs->action_deferred_push = deferred_push_rdb_collection;
|
||||
else
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user