mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanups
This commit is contained in:
parent
3c81b2597d
commit
97de8a35ec
@ -271,11 +271,6 @@ static int deferred_push_settings(menu_displaylist_info_t *info)
|
||||
return deferred_push_dlist(info, DISPLAYLIST_SETTINGS_ALL);
|
||||
}
|
||||
|
||||
static int deferred_push_category(menu_displaylist_info_t *info)
|
||||
{
|
||||
return deferred_push_dlist(info, DISPLAYLIST_SETTINGS);
|
||||
}
|
||||
|
||||
static int deferred_push_shader_options(menu_displaylist_info_t *info)
|
||||
{
|
||||
return deferred_push_dlist(info, DISPLAYLIST_OPTIONS_SHADERS);
|
||||
@ -1279,11 +1274,7 @@ static int menu_cbs_init_bind_deferred_push_compare_label(
|
||||
static int menu_cbs_init_bind_deferred_push_compare_type(
|
||||
menu_file_list_cbs_t *cbs, unsigned type)
|
||||
{
|
||||
if (type == MENU_SETTING_GROUP)
|
||||
{
|
||||
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_category);
|
||||
}
|
||||
else if (type == FILE_TYPE_PLAYLIST_COLLECTION)
|
||||
if (type == FILE_TYPE_PLAYLIST_COLLECTION)
|
||||
{
|
||||
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_rdb_collection);
|
||||
}
|
||||
|
@ -3718,7 +3718,6 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||
{
|
||||
case DISPLAYLIST_HELP_SCREEN_LIST:
|
||||
case DISPLAYLIST_MAIN_MENU:
|
||||
case DISPLAYLIST_SETTINGS:
|
||||
case DISPLAYLIST_SETTINGS_ALL:
|
||||
case DISPLAYLIST_HORIZONTAL:
|
||||
case DISPLAYLIST_HORIZONTAL_CONTENT_ACTIONS:
|
||||
@ -3950,11 +3949,6 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||
goto error;
|
||||
}
|
||||
return true;
|
||||
case DISPLAYLIST_SETTINGS:
|
||||
ret = menu_displaylist_parse_settings(menu, info,
|
||||
info->label, PARSE_NONE, true);
|
||||
info->need_push = true;
|
||||
break;
|
||||
case DISPLAYLIST_MAIN_MENU:
|
||||
{
|
||||
rarch_system_info_t *system = NULL;
|
||||
|
@ -58,7 +58,6 @@ enum menu_displaylist_ctl_state
|
||||
DISPLAYLIST_MAIN_MENU,
|
||||
DISPLAYLIST_GENERIC,
|
||||
DISPLAYLIST_SETTING_ENUM,
|
||||
DISPLAYLIST_SETTINGS,
|
||||
DISPLAYLIST_SETTINGS_ALL,
|
||||
DISPLAYLIST_HORIZONTAL,
|
||||
DISPLAYLIST_HORIZONTAL_CONTENT_ACTIONS,
|
||||
|
Loading…
x
Reference in New Issue
Block a user