mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Fixed text in 16:9 for RGUI not scaling properly (#15768)
This commit is contained in:
parent
2be13a59f7
commit
e7eb588fb6
@ -6093,7 +6093,7 @@ static bool rgui_set_aspect_ratio(
|
|||||||
{
|
{
|
||||||
case RGUI_ASPECT_RATIO_16_9:
|
case RGUI_ASPECT_RATIO_16_9:
|
||||||
if (rgui->frame_buf.height == 240)
|
if (rgui->frame_buf.height == 240)
|
||||||
rgui->frame_buf.width = max_frame_buf_width;
|
rgui->frame_buf.width = 424;
|
||||||
else
|
else
|
||||||
rgui->frame_buf.width = RGUI_ROUND_FB_WIDTH(
|
rgui->frame_buf.width = RGUI_ROUND_FB_WIDTH(
|
||||||
(16.0f / 9.0f) * (float)rgui->frame_buf.height);
|
(16.0f / 9.0f) * (float)rgui->frame_buf.height);
|
||||||
@ -6102,7 +6102,7 @@ static bool rgui_set_aspect_ratio(
|
|||||||
case RGUI_ASPECT_RATIO_16_9_CENTRE:
|
case RGUI_ASPECT_RATIO_16_9_CENTRE:
|
||||||
if (rgui->frame_buf.height == 240)
|
if (rgui->frame_buf.height == 240)
|
||||||
{
|
{
|
||||||
rgui->frame_buf.width = max_frame_buf_width;
|
rgui->frame_buf.width = 424;
|
||||||
base_term_width = 320;
|
base_term_width = 320;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user