mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-03 22:03:04 +00:00
Fix some labels
This commit is contained in:
parent
e2f69a1f4c
commit
d59f3eff07
@ -289,6 +289,41 @@ static int action_get_title_group_settings(const char *path, const char *label,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_core_information_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_CORE_INFORMATION), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_cursor_manager_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_CURSOR_MANAGER), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_database_manager_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_DATABASE_MANAGER), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_system_information_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_SYSTEM_INFORMATION), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_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_SETTINGS), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_title_information_list(const char *path, const char *label,
|
||||
unsigned menu_type, char *s, size_t len)
|
||||
{
|
||||
@ -606,17 +641,29 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
|
||||
case MENU_LABEL_INFORMATION_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_title_information_list);
|
||||
break;
|
||||
case MENU_LABEL_SETTINGS:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_settings_list);
|
||||
break;
|
||||
case MENU_LABEL_DATABASE_MANAGER_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_database_manager_list);
|
||||
break;
|
||||
case MENU_LABEL_SYSTEM_INFORMATION:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_system_information_list);
|
||||
break;
|
||||
case MENU_LABEL_CURSOR_MANAGER_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_cursor_manager_list);
|
||||
break;
|
||||
case MENU_LABEL_CORE_INFORMATION:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_core_information_list);
|
||||
break;
|
||||
case MENU_LABEL_CORE_LIST:
|
||||
case MENU_LABEL_MANAGEMENT:
|
||||
case MENU_LABEL_ONLINE_UPDATER:
|
||||
case MENU_LABEL_SETTINGS:
|
||||
case MENU_LABEL_FRONTEND_COUNTERS:
|
||||
case MENU_LABEL_CORE_COUNTERS:
|
||||
case MENU_LABEL_LOAD_CONTENT_HISTORY:
|
||||
case MENU_LABEL_INFO_SCREEN:
|
||||
case MENU_LABEL_SYSTEM_INFORMATION:
|
||||
case MENU_LABEL_DEBUG_INFORMATION:
|
||||
case MENU_LABEL_CORE_INFORMATION:
|
||||
case MENU_LABEL_VIDEO_SHADER_PARAMETERS:
|
||||
case MENU_LABEL_VIDEO_SHADER_PRESET_PARAMETERS:
|
||||
case MENU_LABEL_DISK_OPTIONS:
|
||||
@ -624,8 +671,6 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
|
||||
case MENU_LABEL_SHADER_OPTIONS:
|
||||
case MENU_LABEL_CORE_CHEAT_OPTIONS:
|
||||
case MENU_LABEL_CORE_INPUT_REMAPPING_OPTIONS:
|
||||
case MENU_LABEL_DATABASE_MANAGER_LIST:
|
||||
case MENU_LABEL_CURSOR_MANAGER_LIST:
|
||||
case MENU_LABEL_DEFERRED_CORE_UPDATER_LIST:
|
||||
case MENU_LABEL_CONTENT_COLLECTION_LIST:
|
||||
case MENU_LABEL_LOAD_CONTENT_LIST:
|
||||
|
Loading…
Reference in New Issue
Block a user