mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-14 22:58:28 +00:00
Add sublabel for Retro Achievements
This commit is contained in:
parent
a142f85d3c
commit
8960893caf
@ -1610,6 +1610,8 @@ MSG_HASH(MENU_ENUM_LABEL_VIDEO_SHADER_PRESET_TWO,
|
||||
"Shader Preset")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_CHEEVOS_HARDCORE_MODE_ENABLE,
|
||||
"Enable or disable savestates, cheats, rewind, fast-forward, pause, and slow-motion for all games.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_RETRO_ACHIEVEMENTS_SETTINGS,
|
||||
"Change settings for the achievements.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_CORE_SETTINGS,
|
||||
"Change settings for the core.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_RECORDING_SETTINGS,
|
||||
|
@ -40,6 +40,16 @@ static int action_bind_sublabel_generic(
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_bind_sublabel_retro_achievements_settings_list(
|
||||
file_list_t *list,
|
||||
unsigned type, unsigned i,
|
||||
const char *label, const char *path,
|
||||
char *s, size_t len)
|
||||
{
|
||||
strlcpy(s, msg_hash_to_str(MENU_ENUM_SUBLABEL_RETRO_ACHIEVEMENTS_SETTINGS), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_bind_sublabel_recording_settings_list(
|
||||
file_list_t *list,
|
||||
unsigned type, unsigned i,
|
||||
@ -527,6 +537,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
case MENU_ENUM_LABEL_CORE_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_RETRO_ACHIEVEMENTS_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_retro_achievements_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_INPUT_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_settings_list);
|
||||
break;
|
||||
|
@ -1967,6 +1967,7 @@ enum msg_hash_enums
|
||||
MENU_ENUM_SUBLABEL_NETPLAY,
|
||||
MENU_ENUM_SUBLABEL_ONLINE_UPDATER,
|
||||
MENU_ENUM_SUBLABEL_RECORDING_SETTINGS,
|
||||
MENU_ENUM_SUBLABEL_RETRO_ACHIEVEMENTS_SETTINGS,
|
||||
MENU_ENUM_SUBLABEL_SAMBA_ENABLE,
|
||||
MENU_ENUM_SUBLABEL_SERVICES_SETTINGS,
|
||||
MENU_ENUM_SUBLABEL_SHOW_HIDDEN_FILES,
|
||||
|
Loading…
x
Reference in New Issue
Block a user