mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 06:18:34 +00:00
Add DISPLAYLIST_SETTING
This commit is contained in:
parent
9fdbde1b4c
commit
0c517434f3
@ -3128,6 +3128,24 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||
info->label, info->type, info->directory_ptr, 0);
|
||||
menu->push_help_screen = false;
|
||||
break;
|
||||
case DISPLAYLIST_SETTING:
|
||||
{
|
||||
menu_displaylist_ctx_parse_entry_t *entry =
|
||||
(menu_displaylist_ctx_parse_entry_t*)data;
|
||||
|
||||
if (!entry)
|
||||
return false;
|
||||
|
||||
if (menu_displaylist_parse_settings(entry->data,
|
||||
entry->info,
|
||||
entry->info_label,
|
||||
entry->parse_type,
|
||||
entry->add_empty_entry) == -1)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
case DISPLAYLIST_SETTINGS:
|
||||
ret = menu_displaylist_parse_settings(menu, info,
|
||||
info->label, PARSE_NONE, true);
|
||||
|
@ -52,6 +52,7 @@ enum menu_displaylist_ctl_state
|
||||
DISPLAYLIST_HELP_SCREEN_LIST,
|
||||
DISPLAYLIST_MAIN_MENU,
|
||||
DISPLAYLIST_GENERIC,
|
||||
DISPLAYLIST_SETTING,
|
||||
DISPLAYLIST_SETTINGS,
|
||||
DISPLAYLIST_SETTINGS_ALL,
|
||||
DISPLAYLIST_HORIZONTAL,
|
||||
|
Loading…
Reference in New Issue
Block a user