diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 9cabad4952..128bdd58b5 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -2397,3 +2397,5 @@ 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.") +MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_FILTER, + "Apply a CPU-powered video filter. NOTE: Might come at a high performance cost. Some video filters might only work for cores that use 32bit or 16bit color.") diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index 1d157f047d..10bbfee67d 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -124,6 +124,7 @@ default_sublabel_macro(action_bind_sublabel_content_history_size, MENU_ 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) +default_sublabel_macro(action_bind_sublabel_video_filter, MENU_ENUM_SUBLABEL_VIDEO_FILTER) /* MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM*/ @@ -187,6 +188,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, { switch (cbs->enum_idx) { + case MENU_ENUM_LABEL_VIDEO_FILTER: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_filter); + break; case MENU_ENUM_LABEL_VIDEO_CROP_OVERSCAN: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_crop_overscan); break;