From 9fe3bd9b62c316ba96949d34280e8104232c8f8c Mon Sep 17 00:00:00 2001 From: hizzlekizzle Date: Mon, 19 Sep 2016 08:31:08 -0500 Subject: [PATCH] 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. --- gfx/video_driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 5f3767e06b..8618e202fe 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -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; }