mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 21:40:40 +00:00
(Menu) Video -> Scaling - Hide Custom Viewport X/Y when Integer
Scale is enabled as description indicates
This commit is contained in:
parent
1fcded67ef
commit
28ec64e200
@ -5750,14 +5750,17 @@ unsigned menu_displaylist_build_list(file_list_t *list, enum menu_displaylist_ct
|
||||
count++;
|
||||
break;
|
||||
case ASPECT_RATIO_CUSTOM:
|
||||
if (menu_displaylist_parse_settings_enum(list,
|
||||
MENU_ENUM_LABEL_VIDEO_VIEWPORT_CUSTOM_X,
|
||||
PARSE_ONLY_INT, false) == 0)
|
||||
count++;
|
||||
if (menu_displaylist_parse_settings_enum(list,
|
||||
MENU_ENUM_LABEL_VIDEO_VIEWPORT_CUSTOM_Y,
|
||||
PARSE_ONLY_INT, false) == 0)
|
||||
count++;
|
||||
if (!settings->bools.video_scale_integer)
|
||||
{
|
||||
if (menu_displaylist_parse_settings_enum(list,
|
||||
MENU_ENUM_LABEL_VIDEO_VIEWPORT_CUSTOM_X,
|
||||
PARSE_ONLY_INT, false) == 0)
|
||||
count++;
|
||||
if (menu_displaylist_parse_settings_enum(list,
|
||||
MENU_ENUM_LABEL_VIDEO_VIEWPORT_CUSTOM_Y,
|
||||
PARSE_ONLY_INT, false) == 0)
|
||||
count++;
|
||||
}
|
||||
if (menu_displaylist_parse_settings_enum(list,
|
||||
MENU_ENUM_LABEL_VIDEO_VIEWPORT_CUSTOM_WIDTH,
|
||||
PARSE_ONLY_UINT, false) == 0)
|
||||
|
@ -9859,6 +9859,8 @@ static bool setting_append_list(
|
||||
general_write_handler,
|
||||
general_read_handler,
|
||||
SD_FLAG_NONE);
|
||||
(*list)[list_info->index - 1].action_left = setting_bool_action_left_with_refresh;
|
||||
(*list)[list_info->index - 1].action_right = setting_bool_action_right_with_refresh;
|
||||
menu_settings_list_current_add_cmd(
|
||||
list,
|
||||
list_info,
|
||||
|
Loading…
x
Reference in New Issue
Block a user