diff --git a/intl/msg_hash_us.c b/intl/msg_hash_us.c index 0ec369f75a..97b0be9a9a 100644 --- a/intl/msg_hash_us.c +++ b/intl/msg_hash_us.c @@ -3031,6 +3031,10 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg) return "Adjusts settings for audio output."; case MENU_ENUM_SUBLABEL_SUSPEND_SCREENSAVER_ENABLE: return "Prevents your system's screensaver from becoming active."; + case MENU_ENUM_SUBLABEL_VIDEO_MAX_SWAPCHAIN_IMAGES: + return "Tell the video driver to explicitly use a specified buffering mode."; + case MENU_ENUM_SUBLABEL_ONLINE_UPDATER: + return "Download and update add-ons and components for RetroArch."; case MSG_VALUE_SHUTTING_DOWN: return "Shutting down..."; case MSG_VALUE_REBOOTING: diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index b8c3582e42..dba475b6fa 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -66,6 +66,26 @@ static int action_bind_sublabel_audio_settings_list( return 0; } +static int action_bind_sublabel_max_swapchain_images( + file_list_t *list, + unsigned type, unsigned i, + const char *label, const char *path, + char *s, size_t len) +{ + strlcpy(s, msg_hash_to_str(MENU_ENUM_SUBLABEL_VIDEO_MAX_SWAPCHAIN_IMAGES), len); + return 0; +} + +static int action_bind_sublabel_online_updater( + file_list_t *list, + unsigned type, unsigned i, + const char *label, const char *path, + char *s, size_t len) +{ + strlcpy(s, msg_hash_to_str(MENU_ENUM_SUBLABEL_ONLINE_UPDATER), len); + return 0; +} + static int action_bind_sublabel_fps_show( file_list_t *list, unsigned type, unsigned i, @@ -88,6 +108,12 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, { switch (cbs->enum_idx) { + case MENU_ENUM_LABEL_ONLINE_UPDATER: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_online_updater); + break; + case MENU_ENUM_LABEL_VIDEO_MAX_SWAPCHAIN_IMAGES: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_max_swapchain_images); + break; case MENU_ENUM_LABEL_FPS_SHOW: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_fps_show); break; diff --git a/msg_hash.h b/msg_hash.h index 712dc51206..2b489ce7d3 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -1868,7 +1868,9 @@ enum msg_hash_enums MENU_ENUM_SUBLABEL_VIDEO_SETTINGS, MENU_ENUM_SUBLABEL_AUDIO_SETTINGS, MENU_ENUM_SUBLABEL_SUSPEND_SCREENSAVER_ENABLE, - MENU_ENUM_SUBLABEL_FPS_SHOW + MENU_ENUM_SUBLABEL_FPS_SHOW, + MENU_ENUM_SUBLABEL_VIDEO_MAX_SWAPCHAIN_IMAGES, + MENU_ENUM_SUBLABEL_ONLINE_UPDATER };