mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Add sublabel
This commit is contained in:
parent
756d48702d
commit
5b9c212d70
@ -2680,3 +2680,5 @@ MSG_HASH(MENU_ENUM_SUBLABEL_SORT_SAVEFILES_ENABLE,
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_SORT_SAVESTATES_ENABLE,
|
||||
"Sort save states in folders named after the core used."
|
||||
)
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_NETPLAY_CLIENT_SWAP_INPUT,
|
||||
"When being client over netplay, use keybinds for Player 1.")
|
||||
|
@ -206,6 +206,7 @@ default_sublabel_macro(action_bind_sublabel_scan_directory, MENU_
|
||||
default_sublabel_macro(action_bind_sublabel_video_swap_interval, MENU_ENUM_SUBLABEL_VIDEO_SWAP_INTERVAL)
|
||||
default_sublabel_macro(action_bind_sublabel_sort_savefiles_enable, MENU_ENUM_SUBLABEL_SORT_SAVEFILES_ENABLE)
|
||||
default_sublabel_macro(action_bind_sublabel_sort_savestates_enable, MENU_ENUM_SUBLABEL_SORT_SAVESTATES_ENABLE)
|
||||
default_sublabel_macro(action_bind_sublabel_netplay_client_swap_input, MENU_ENUM_SUBLABEL_NETPLAY_CLIENT_SWAP_INPUT)
|
||||
|
||||
static int action_bind_sublabel_cheevos_entry(
|
||||
file_list_t *list,
|
||||
@ -267,6 +268,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
{
|
||||
switch (cbs->enum_idx)
|
||||
{
|
||||
case MENU_ENUM_LABEL_NETPLAY_CLIENT_SWAP_INPUT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_client_swap_input);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SORT_SAVEFILES_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_sort_savefiles_enable);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user