mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 10:20:51 +00:00
restore old functionality till the change is done in other platforms
This commit is contained in:
parent
665be01b6b
commit
1187df922a
@ -984,6 +984,14 @@ static bool video_driver_init_internal(bool *video_is_threaded)
|
|||||||
height = settings->uints.video_fullscreen_y;
|
height = settings->uints.video_fullscreen_y;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
/* To-Do: remove when the new window resizing core is hooked */
|
||||||
|
if (settings->uints.window_position_width || settings->uints.window_position_height)
|
||||||
|
{
|
||||||
|
width = settings->uints.window_position_width;
|
||||||
|
height = settings->uints.window_position_height;
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
if (settings->bools.video_force_aspect)
|
if (settings->bools.video_force_aspect)
|
||||||
{
|
{
|
||||||
@ -995,6 +1003,7 @@ static bool video_driver_init_internal(bool *video_is_threaded)
|
|||||||
else
|
else
|
||||||
width = roundf(geom->base_width * settings->floats.video_scale);
|
width = roundf(geom->base_width * settings->floats.video_scale);
|
||||||
height = roundf(geom->base_height * settings->floats.video_scale);
|
height = roundf(geom->base_height * settings->floats.video_scale);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (width && height)
|
if (width && height)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user