mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Add sublabel for Core
This commit is contained in:
parent
7581806be1
commit
0651f84773
@ -1606,6 +1606,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_CORE_SETTINGS,
|
||||
"Change settings for the core.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_ADD_CONTENT_LIST,
|
||||
"Scan contents and add to the database.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_AUDIO_SETTINGS,
|
||||
|
@ -40,6 +40,16 @@ static int action_bind_sublabel_generic(
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_bind_sublabel_core_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_CORE_SETTINGS), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_bind_sublabel_cheevos_hardcore_mode_enable(
|
||||
file_list_t *list,
|
||||
unsigned type, unsigned i,
|
||||
@ -453,6 +463,7 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
case MENU_ENUM_LABEL_INPUT_USER_16_BINDS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_user_bind_settings);
|
||||
break;
|
||||
|
||||
case MENU_ENUM_LABEL_NETPLAY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_settings);
|
||||
break;
|
||||
@ -474,6 +485,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
case MENU_ENUM_LABEL_AUDIO_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CORE_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_INPUT_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_settings_list);
|
||||
break;
|
||||
|
@ -1946,6 +1946,7 @@ enum msg_hash_enums
|
||||
MENU_ENUM_LABEL_CB_CORE_UPDATER_DOWNLOAD,
|
||||
MENU_ENUM_LABEL_CB_CORE_THUMBNAILS_DOWNLOAD,
|
||||
|
||||
MENU_ENUM_SUBLABEL_CORE_SETTINGS,
|
||||
MENU_ENUM_SUBLABEL_CHEEVOS_HARDCORE_MODE_ENABLE,
|
||||
MENU_ENUM_SUBLABEL_VIDEO_HARD_SYNC_FRAMES,
|
||||
MENU_ENUM_SUBLABEL_VIDEO_REFRESH_RATE_AUTO,
|
||||
|
Loading…
x
Reference in New Issue
Block a user