diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 4e52c7fd54..c20d59362e 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -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.") diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index 821b4d810d..c864480e2f 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -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;