mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Merge pull request #3622 from hizzlekizzle/patch-1
add 9:16 AR and fix typo
This commit is contained in:
commit
65ce2d145d
@ -144,7 +144,7 @@ struct aspect_ratio_elem aspectratio_lut[ASPECT_RATIO_END] = {
|
||||
{ "3:2", 1.5f },
|
||||
{ "3:4", 0.75f },
|
||||
{ "4:1", 4.0f },
|
||||
{ "4:4", 1.0f },
|
||||
{ "9:16", 0.5625f },
|
||||
{ "5:4", 1.25f },
|
||||
{ "6:5", 1.2f },
|
||||
{ "7:9", 0.7777f },
|
||||
@ -1469,7 +1469,7 @@ void video_driver_set_viewport_square_pixel(void)
|
||||
|
||||
snprintf(aspectratio_lut[ASPECT_RATIO_SQUARE].name,
|
||||
sizeof(aspectratio_lut[ASPECT_RATIO_SQUARE].name),
|
||||
"1:1 PAR (%u:%u DAR))", aspect_x, aspect_y);
|
||||
"1:1 PAR (%u:%u DAR)", aspect_x, aspect_y);
|
||||
|
||||
aspectratio_lut[ASPECT_RATIO_SQUARE].value = (float)aspect_x / aspect_y;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user