mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-29 15:32:01 +00:00
Create title for separate driver settings list
This commit is contained in:
parent
fef0d968cd
commit
a7ced34810
@ -432,6 +432,13 @@ static int action_get_input_hotkey_binds_settings_list(const char *path, const c
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_driver_settings_list(const char *path, const char *label,
|
||||
unsigned menu_type, char *s, size_t len)
|
||||
{
|
||||
sanitize_to_string(s, menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_DRIVER_SETTINGS), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_input_settings_list(const char *path, const char *label,
|
||||
unsigned menu_type, char *s, size_t len)
|
||||
{
|
||||
@ -884,6 +891,9 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
|
||||
case MENU_ENUM_LABEL_DEFERRED_INPUT_HOTKEY_BINDS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_input_hotkey_binds_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DEFERRED_DRIVER_SETTINGS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_driver_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DEFERRED_INPUT_SETTINGS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_input_settings_list);
|
||||
break;
|
||||
@ -1154,6 +1164,9 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
|
||||
case MENU_LABEL_DEFERRED_INPUT_HOTKEY_BINDS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_input_hotkey_binds_settings_list);
|
||||
break;
|
||||
case MENU_LABEL_DEFERRED_DRIVER_SETTINGS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_driver_settings_list);
|
||||
break;
|
||||
case MENU_LABEL_DEFERRED_INPUT_SETTINGS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_input_settings_list);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user