(Menu) Add more labels

This commit is contained in:
twinaphex 2015-10-28 06:31:58 +01:00
parent 6f56a34589
commit 99720d02d8

View File

@ -380,6 +380,27 @@ static int action_get_core_counters_list(const char *path, const char *label,
return 0;
}
static int action_get_playlist_settings_list(const char *path, const char *label,
unsigned menu_type, char *s, size_t len)
{
sanitize_to_string(s, menu_hash_to_str(MENU_LABEL_VALUE_PLAYLIST_SETTINGS), len);
return 0;
}
static int action_get_input_hotkey_binds_settings_list(const char *path, const char *label,
unsigned menu_type, char *s, size_t len)
{
sanitize_to_string(s, menu_hash_to_str(MENU_LABEL_VALUE_INPUT_HOTKEY_BINDS), len);
return 0;
}
static int action_get_input_settings_list(const char *path, const char *label,
unsigned menu_type, char *s, size_t len)
{
sanitize_to_string(s, menu_hash_to_str(MENU_LABEL_VALUE_INPUT_SETTINGS), len);
return 0;
}
static int action_get_core_cheat_options_list(const char *path, const char *label,
unsigned menu_type, char *s, size_t len)
{
@ -796,6 +817,15 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
case MENU_LABEL_CORE_COUNTERS:
BIND_ACTION_GET_TITLE(cbs, action_get_core_counters_list);
break;
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_INPUT_SETTINGS_LIST:
BIND_ACTION_GET_TITLE(cbs, action_get_input_settings_list);
break;
case MENU_LABEL_DEFERRED_PLAYLIST_SETTINGS_LIST:
BIND_ACTION_GET_TITLE(cbs, action_get_playlist_settings_list);
break;
case MENU_LABEL_MANAGEMENT:
case MENU_LABEL_DEBUG_INFORMATION:
case MENU_LABEL_VIDEO_SHADER_PARAMETERS: