From 04586d3d6671b64bcf5f6ea542725644e1577c82 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 2 Feb 2017 00:47:52 +0100 Subject: [PATCH] Add some sublabels --- intl/msg_hash_us.h | 4 ++++ menu/cbs/menu_cbs_sublabel.c | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 6be454d708..9cabad4952 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -2393,3 +2393,7 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_NETPLAY_ROOM_NICKNAME, "Nickname: %s") MSG_HASH(MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND, "Compatible content found") +MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_CROP_OVERSCAN, + "Cuts off a few pixels around the edges of the image that were customarily left blank by developers and sometimes contain garbage pixels.") +MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_SMOOTH, + "Add a slight blur to the image to take the edge off of the hard pixel edges. This option has very little impact on performance.") diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index 085e8b70b1..1d157f047d 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -118,10 +118,12 @@ default_sublabel_macro(action_bind_sublabel_audio_enable, MENU_ default_sublabel_macro(action_bind_sublabel_audio_max_timing_skew, MENU_ENUM_SUBLABEL_AUDIO_MAX_TIMING_SKEW) default_sublabel_macro(action_bind_sublabel_pause_nonactive, MENU_ENUM_SUBLABEL_PAUSE_NONACTIVE) default_sublabel_macro(action_bind_sublabel_video_disable_composition, MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION) +default_sublabel_macro(action_bind_sublabel_video_smooth, MENU_ENUM_SUBLABEL_VIDEO_SMOOTH) default_sublabel_macro(action_bind_sublabel_history_list_enable, MENU_ENUM_SUBLABEL_HISTORY_LIST_ENABLE) default_sublabel_macro(action_bind_sublabel_content_history_size, MENU_ENUM_SUBLABEL_CONTENT_HISTORY_SIZE) default_sublabel_macro(action_bind_sublabel_menu_input_unified_controls, MENU_ENUM_SUBLABEL_INPUT_UNIFIED_MENU_CONTROLS) default_sublabel_macro(action_bind_sublabel_onscreen_notifications_enable, MENU_ENUM_SUBLABEL_VIDEO_FONT_ENABLE) +default_sublabel_macro(action_bind_sublabel_video_crop_overscan, MENU_ENUM_SUBLABEL_VIDEO_CROP_OVERSCAN) /* MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM*/ @@ -185,6 +187,12 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, { switch (cbs->enum_idx) { + case MENU_ENUM_LABEL_VIDEO_CROP_OVERSCAN: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_crop_overscan); + break; + case MENU_ENUM_LABEL_VIDEO_SMOOTH: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_smooth); + break; case MENU_ENUM_LABEL_VIDEO_FONT_ENABLE: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_onscreen_notifications_enable); break;