mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Add more titles
This commit is contained in:
parent
eb33e83eff
commit
5fef315cb1
@ -289,6 +289,27 @@ static int action_get_title_group_settings(const char *path, const char *label,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_user_accounts_cheevos_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_ACCOUNTS_RETRO_ACHIEVEMENTS), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_download_core_content_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_DOWNLOAD_CORE_CONTENT), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_user_accounts_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_ACCOUNTS_LIST), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_core_information_list(const char *path, const char *label,
|
||||
unsigned menu_type, char *s, size_t len)
|
||||
{
|
||||
@ -845,6 +866,15 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
|
||||
case MENU_LABEL_REMAP_FILE_LOAD:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_title_remap_file_load);
|
||||
break;
|
||||
case MENU_LABEL_DEFERRED_ACCOUNTS_CHEEVOS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_user_accounts_cheevos_list);
|
||||
break;
|
||||
case MENU_LABEL_DOWNLOAD_CORE_CONTENT:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_download_core_content_list);
|
||||
break;
|
||||
case MENU_LABEL_DEFERRED_ACCOUNTS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_user_accounts_list);
|
||||
break;
|
||||
case MENU_LABEL_HELP_LIST:
|
||||
case MENU_LABEL_HELP:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_title_help);
|
||||
|
Loading…
x
Reference in New Issue
Block a user