Revert "Attempt to correct integer scaling left/right"
This reverts commit bf8fa06911
.
This commit is contained in:
parent
bf8fa06911
commit
c272a42f21
|
@ -1313,3 +1313,4 @@ unsigned menu_input_frame(retro_input_t input, retro_input_t trigger_input)
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -926,7 +926,7 @@ static int setting_uint_action_left_custom_viewport_width(void *data, bool wrapa
|
||||||
video_driver_viewport_info(&vp);
|
video_driver_viewport_info(&vp);
|
||||||
|
|
||||||
if (settings->video.scale_integer)
|
if (settings->video.scale_integer)
|
||||||
custom->width = (custom->width % geom->base_width - 1) * geom->base_width;
|
custom->width -= geom->base_width;
|
||||||
else
|
else
|
||||||
custom->width -= 1;
|
custom->width -= 1;
|
||||||
|
|
||||||
|
@ -948,7 +948,7 @@ static int setting_uint_action_right_custom_viewport_width(void *data, bool wrap
|
||||||
video_driver_viewport_info(&vp);
|
video_driver_viewport_info(&vp);
|
||||||
|
|
||||||
if (settings->video.scale_integer)
|
if (settings->video.scale_integer)
|
||||||
custom->width = (custom->width % geom->base_width + 1) * geom->base_width;
|
custom->width += geom->base_width;
|
||||||
else
|
else
|
||||||
custom->width += 1;
|
custom->width += 1;
|
||||||
|
|
||||||
|
@ -970,7 +970,7 @@ static int setting_uint_action_left_custom_viewport_height(void *data, bool wrap
|
||||||
video_driver_viewport_info(&vp);
|
video_driver_viewport_info(&vp);
|
||||||
|
|
||||||
if (settings->video.scale_integer)
|
if (settings->video.scale_integer)
|
||||||
custom->height = (custom->height % geom->base_height - 1) * geom->base_height;
|
custom->height -= geom->base_height;
|
||||||
else
|
else
|
||||||
custom->height -= 1;
|
custom->height -= 1;
|
||||||
|
|
||||||
|
@ -992,7 +992,7 @@ static int setting_uint_action_right_custom_viewport_height(void *data, bool wra
|
||||||
video_driver_viewport_info(&vp);
|
video_driver_viewport_info(&vp);
|
||||||
|
|
||||||
if (settings->video.scale_integer)
|
if (settings->video.scale_integer)
|
||||||
custom->height = (custom->height % geom->base_height + 1) * geom->base_height;
|
custom->height += geom->base_height;
|
||||||
else
|
else
|
||||||
custom->height += 1;
|
custom->height += 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue