mirror of
https://github.com/libretro/RetroArch
synced 2025-02-23 15:40:35 +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,6 +5750,8 @@ unsigned menu_displaylist_build_list(file_list_t *list, enum menu_displaylist_ct
|
|||||||
count++;
|
count++;
|
||||||
break;
|
break;
|
||||||
case ASPECT_RATIO_CUSTOM:
|
case ASPECT_RATIO_CUSTOM:
|
||||||
|
if (!settings->bools.video_scale_integer)
|
||||||
|
{
|
||||||
if (menu_displaylist_parse_settings_enum(list,
|
if (menu_displaylist_parse_settings_enum(list,
|
||||||
MENU_ENUM_LABEL_VIDEO_VIEWPORT_CUSTOM_X,
|
MENU_ENUM_LABEL_VIDEO_VIEWPORT_CUSTOM_X,
|
||||||
PARSE_ONLY_INT, false) == 0)
|
PARSE_ONLY_INT, false) == 0)
|
||||||
@ -5758,6 +5760,7 @@ unsigned menu_displaylist_build_list(file_list_t *list, enum menu_displaylist_ct
|
|||||||
MENU_ENUM_LABEL_VIDEO_VIEWPORT_CUSTOM_Y,
|
MENU_ENUM_LABEL_VIDEO_VIEWPORT_CUSTOM_Y,
|
||||||
PARSE_ONLY_INT, false) == 0)
|
PARSE_ONLY_INT, false) == 0)
|
||||||
count++;
|
count++;
|
||||||
|
}
|
||||||
if (menu_displaylist_parse_settings_enum(list,
|
if (menu_displaylist_parse_settings_enum(list,
|
||||||
MENU_ENUM_LABEL_VIDEO_VIEWPORT_CUSTOM_WIDTH,
|
MENU_ENUM_LABEL_VIDEO_VIEWPORT_CUSTOM_WIDTH,
|
||||||
PARSE_ONLY_UINT, false) == 0)
|
PARSE_ONLY_UINT, false) == 0)
|
||||||
|
@ -9859,6 +9859,8 @@ static bool setting_append_list(
|
|||||||
general_write_handler,
|
general_write_handler,
|
||||||
general_read_handler,
|
general_read_handler,
|
||||||
SD_FLAG_NONE);
|
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(
|
menu_settings_list_current_add_cmd(
|
||||||
list,
|
list,
|
||||||
list_info,
|
list_info,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user