mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Add sublabels
This commit is contained in:
parent
f558d69c78
commit
3615b6cdb9
@ -2792,3 +2792,11 @@ MSG_HASH(MENU_ENUM_SUBLABEL_NETPLAY_INPUT_LATENCY_FRAMES_MIN,
|
||||
"The number of frames of input latency for netplay to use to hide network latency. This reduces jitter and makes netplay less CPU-intensive, at the expense of noticeable input lag.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_NETPLAY_INPUT_LATENCY_FRAMES_RANGE,
|
||||
"The range of frames of input latency that may be used to hide network latency. Reduces jitter and makes netplay less CPU-intensive, at the expense of unpredictable input lag.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_DISK_CYCLE_TRAY_STATUS,
|
||||
"Cycle the current disk. If the disk is inserted, it will eject the disk. If the disk has not been inserted, it will be inserted. ")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_DISK_INDEX,
|
||||
"Change the disk index.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_DISK_OPTIONS,
|
||||
"Disk image management.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_DISK_IMAGE_APPEND,
|
||||
"Select a disk image to insert.")
|
||||
|
@ -250,6 +250,10 @@ default_sublabel_macro(action_bind_thumbnails_directory,
|
||||
default_sublabel_macro(action_bind_rgui_config_directory, MENU_ENUM_SUBLABEL_RGUI_CONFIG_DIRECTORY)
|
||||
default_sublabel_macro(action_bind_sublabel_input_latency_frames, MENU_ENUM_SUBLABEL_NETPLAY_INPUT_LATENCY_FRAMES_MIN)
|
||||
default_sublabel_macro(action_bind_sublabel_input_latency_frames_range, MENU_ENUM_SUBLABEL_NETPLAY_INPUT_LATENCY_FRAMES_RANGE)
|
||||
default_sublabel_macro(action_bind_sublabel_disk_cycle_tray_status, MENU_ENUM_SUBLABEL_DISK_CYCLE_TRAY_STATUS)
|
||||
default_sublabel_macro(action_bind_sublabel_disk_image_append, MENU_ENUM_SUBLABEL_DISK_IMAGE_APPEND)
|
||||
default_sublabel_macro(action_bind_sublabel_disk_index, MENU_ENUM_SUBLABEL_DISK_INDEX)
|
||||
default_sublabel_macro(action_bind_sublabel_disk_options, MENU_ENUM_SUBLABEL_DISK_OPTIONS)
|
||||
|
||||
static int action_bind_sublabel_cheevos_entry(
|
||||
file_list_t *list,
|
||||
@ -311,6 +315,18 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
{
|
||||
switch (cbs->enum_idx)
|
||||
{
|
||||
case MENU_ENUM_LABEL_DISK_IMAGE_APPEND:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_disk_image_append);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DISK_CYCLE_TRAY_STATUS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_disk_cycle_tray_status);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DISK_INDEX:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_disk_index);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DISK_OPTIONS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_disk_options);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_INPUT_LATENCY_FRAMES_RANGE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_latency_frames_range);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user