mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-11 05:16:12 +00:00
Add Quick Menu sublabel
This commit is contained in:
parent
4ad2cca8e5
commit
1986a80b66
@ -2924,3 +2924,5 @@ MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_CHEAT_FILE_SAVE_AS,
|
||||
"Save current cheats as a save file."
|
||||
)
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_CONTENT_SETTINGS,
|
||||
"Quickly access all relevant in-game settings.")
|
||||
|
@ -305,6 +305,7 @@ default_sublabel_macro(action_bind_sublabel_cheat_apply_changes,
|
||||
default_sublabel_macro(action_bind_sublabel_cheat_num_passes, MENU_ENUM_SUBLABEL_CHEAT_NUM_PASSES)
|
||||
default_sublabel_macro(action_bind_sublabel_cheat_file_load, MENU_ENUM_SUBLABEL_CHEAT_FILE_LOAD)
|
||||
default_sublabel_macro(action_bind_sublabel_cheat_file_save_as, MENU_ENUM_SUBLABEL_CHEAT_FILE_SAVE_AS)
|
||||
default_sublabel_macro(action_bind_sublabel_quick_menu, MENU_ENUM_SUBLABEL_CONTENT_SETTINGS)
|
||||
|
||||
static int action_bind_sublabel_cheevos_entry(
|
||||
file_list_t *list,
|
||||
@ -366,6 +367,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
{
|
||||
switch (cbs->enum_idx)
|
||||
{
|
||||
case MENU_ENUM_LABEL_CONTENT_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_quick_menu);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CHEAT_FILE_SAVE_AS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_cheat_file_save_as);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user