mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 03:40:43 +00:00
add 9:16 AR and fix typo
9:16 is useful for people with widescreen monitors running in portrait mode. I replaced 4:4 with it because 4:4 was redundant with 1:1 anyway, and I fixed the double-close-parentheses typo in the 1:1 PAR's DAR string.
This commit is contained in:
parent
e72a62a905
commit
9fe3bd9b62
@ -144,7 +144,7 @@ struct aspect_ratio_elem aspectratio_lut[ASPECT_RATIO_END] = {
|
|||||||
{ "3:2", 1.5f },
|
{ "3:2", 1.5f },
|
||||||
{ "3:4", 0.75f },
|
{ "3:4", 0.75f },
|
||||||
{ "4:1", 4.0f },
|
{ "4:1", 4.0f },
|
||||||
{ "4:4", 1.0f },
|
{ "9:16", 0.5625f },
|
||||||
{ "5:4", 1.25f },
|
{ "5:4", 1.25f },
|
||||||
{ "6:5", 1.2f },
|
{ "6:5", 1.2f },
|
||||||
{ "7:9", 0.7777f },
|
{ "7:9", 0.7777f },
|
||||||
@ -1469,7 +1469,7 @@ void video_driver_set_viewport_square_pixel(void)
|
|||||||
|
|
||||||
snprintf(aspectratio_lut[ASPECT_RATIO_SQUARE].name,
|
snprintf(aspectratio_lut[ASPECT_RATIO_SQUARE].name,
|
||||||
sizeof(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;
|
aspectratio_lut[ASPECT_RATIO_SQUARE].value = (float)aspect_x / aspect_y;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user