Skip to content

Commit

Permalink
Fixed text in 16:9 for RGUI not scaling properly (#15768)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpod12 authored Oct 6, 2023
1 parent 2be13a5 commit e7eb588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions menu/drivers/rgui.c
Original file line number Diff line number Diff line change
Expand Up @@ -6093,7 +6093,7 @@ static bool rgui_set_aspect_ratio(
{
case RGUI_ASPECT_RATIO_16_9:
if (rgui->frame_buf.height == 240)
rgui->frame_buf.width = max_frame_buf_width;
rgui->frame_buf.width = 424;
else
rgui->frame_buf.width = RGUI_ROUND_FB_WIDTH(
(16.0f / 9.0f) * (float)rgui->frame_buf.height);
Expand All @@ -6102,7 +6102,7 @@ static bool rgui_set_aspect_ratio(
case RGUI_ASPECT_RATIO_16_9_CENTRE:
if (rgui->frame_buf.height == 240)
{
rgui->frame_buf.width = max_frame_buf_width;
rgui->frame_buf.width = 424;
base_term_width = 320;
}
else
Expand Down

0 comments on commit e7eb588

Please sign in to comment.