Fix 43:18 AR showing for 1440p 21:9 packs

This commit is contained in:
Michael 2017-10-18 17:08:19 -07:00
parent 1d345b2fb1
commit 355812bcaf

View File

@ -23,6 +23,9 @@ function get_title($width, $height) {
if ($ratio[0] == 64 && $ratio[1] == 27) {
// 64:27 is the true ratio, but 21:9 is the common approximation
$title = $title . " (21:9)";
} else if ($ratio[0] == 43 && $ratio[1] == 18) {
// 43:18 is the true ratio for 3440x1440, but 21:9 is the common approximation
$title = $title . " (21:9)";
} else if ($ratio[0] == 8 && $ratio[1] == 5) {
// common sense
$title = $title . " (16:10)";