mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Add sublabels
This commit is contained in:
parent
61236a6d34
commit
4ad2cca8e5
@ -2910,3 +2910,17 @@ MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_SHADER_PARAMETERS,
|
|||||||
"Modifies current shader directly. Will not be saved to preset file.")
|
"Modifies current shader directly. Will not be saved to preset file.")
|
||||||
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_SHADER_PRESET_PARAMETERS,
|
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_SHADER_PRESET_PARAMETERS,
|
||||||
"Modifies shader preset currently in menu.")
|
"Modifies shader preset currently in menu.")
|
||||||
|
MSG_HASH(
|
||||||
|
MENU_ENUM_SUBLABEL_CHEAT_NUM_PASSES,
|
||||||
|
"Increase or decrease the amount of cheats."
|
||||||
|
)
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_CHEAT_APPLY_CHANGES,
|
||||||
|
"Cheat changes will take effect immediately.")
|
||||||
|
MSG_HASH(
|
||||||
|
MENU_ENUM_SUBLABEL_CHEAT_FILE_LOAD,
|
||||||
|
"Load a cheat file."
|
||||||
|
)
|
||||||
|
MSG_HASH(
|
||||||
|
MENU_ENUM_SUBLABEL_CHEAT_FILE_SAVE_AS,
|
||||||
|
"Save current cheats as a save file."
|
||||||
|
)
|
||||||
|
@ -301,6 +301,10 @@ default_sublabel_macro(action_bind_sublabel_shader_preset_save_core,
|
|||||||
default_sublabel_macro(action_bind_sublabel_shader_preset_save_game, MENU_ENUM_SUBLABEL_VIDEO_SHADER_PRESET_SAVE_GAME)
|
default_sublabel_macro(action_bind_sublabel_shader_preset_save_game, MENU_ENUM_SUBLABEL_VIDEO_SHADER_PRESET_SAVE_GAME)
|
||||||
default_sublabel_macro(action_bind_sublabel_shader_parameters, MENU_ENUM_SUBLABEL_VIDEO_SHADER_PARAMETERS)
|
default_sublabel_macro(action_bind_sublabel_shader_parameters, MENU_ENUM_SUBLABEL_VIDEO_SHADER_PARAMETERS)
|
||||||
default_sublabel_macro(action_bind_sublabel_shader_preset_parameters, MENU_ENUM_SUBLABEL_VIDEO_SHADER_PRESET_PARAMETERS)
|
default_sublabel_macro(action_bind_sublabel_shader_preset_parameters, MENU_ENUM_SUBLABEL_VIDEO_SHADER_PRESET_PARAMETERS)
|
||||||
|
default_sublabel_macro(action_bind_sublabel_cheat_apply_changes, MENU_ENUM_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)
|
||||||
|
|
||||||
static int action_bind_sublabel_cheevos_entry(
|
static int action_bind_sublabel_cheevos_entry(
|
||||||
file_list_t *list,
|
file_list_t *list,
|
||||||
@ -362,6 +366,18 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
|||||||
{
|
{
|
||||||
switch (cbs->enum_idx)
|
switch (cbs->enum_idx)
|
||||||
{
|
{
|
||||||
|
case MENU_ENUM_LABEL_CHEAT_FILE_SAVE_AS:
|
||||||
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_cheat_file_save_as);
|
||||||
|
break;
|
||||||
|
case MENU_ENUM_LABEL_CHEAT_FILE_LOAD:
|
||||||
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_cheat_file_load);
|
||||||
|
break;
|
||||||
|
case MENU_ENUM_LABEL_CHEAT_APPLY_CHANGES:
|
||||||
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_cheat_apply_changes);
|
||||||
|
break;
|
||||||
|
case MENU_ENUM_LABEL_CHEAT_NUM_PASSES:
|
||||||
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_cheat_num_passes);
|
||||||
|
break;
|
||||||
case MENU_ENUM_LABEL_VIDEO_SHADER_PARAMETERS:
|
case MENU_ENUM_LABEL_VIDEO_SHADER_PARAMETERS:
|
||||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_shader_parameters);
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_shader_parameters);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user