Add sublabel

This commit is contained in:
twinaphex 2017-02-02 08:32:23 +01:00
parent c50b133319
commit d2f87730cf
2 changed files with 6 additions and 0 deletions

View File

@ -2709,3 +2709,5 @@ MSG_HASH(
)
MSG_HASH(MENU_ENUM_SUBLABEL_GAME_SPECIFIC_OPTIONS,
"Enable customized core options by default at startup.")
MSG_HASH(MENU_ENUM_SUBLABEL_CORE_ENABLE,
"Shows current core name inside menu.")

View File

@ -218,6 +218,7 @@ default_sublabel_macro(action_bind_sublabel_menu_filebrowser_settings,
default_sublabel_macro(action_bind_sublabel_auto_remaps_enable, MENU_ENUM_SUBLABEL_AUTO_REMAPS_ENABLE)
default_sublabel_macro(action_bind_sublabel_auto_overrides_enable, MENU_ENUM_SUBLABEL_AUTO_OVERRIDES_ENABLE)
default_sublabel_macro(action_bind_sublabel_game_specific_options, MENU_ENUM_SUBLABEL_GAME_SPECIFIC_OPTIONS)
default_sublabel_macro(action_bind_sublabel_core_enable, MENU_ENUM_SUBLABEL_CORE_ENABLE)
static int action_bind_sublabel_cheevos_entry(
file_list_t *list,
@ -279,6 +280,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
{
switch (cbs->enum_idx)
{
case MENU_ENUM_LABEL_CORE_ENABLE:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_enable);
break;
case MENU_ENUM_LABEL_GAME_SPECIFIC_OPTIONS:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_game_specific_options);
break;