mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-22 17:49:17 +01:00
fix 720p 21:9 naming
This commit is contained in:
parent
a99cac9252
commit
8c94337110
@ -29,6 +29,9 @@ function get_title($width, $height) {
|
|||||||
} else if ($ratio[0] == 7 && $ratio[1] == 3) {
|
} else if ($ratio[0] == 7 && $ratio[1] == 3) {
|
||||||
// 2100x900 and 4200x1800 are actual 21:9 (21*100 and 9*100) but for some reason it calculates to 7:3?
|
// 2100x900 and 4200x1800 are actual 21:9 (21*100 and 9*100) but for some reason it calculates to 7:3?
|
||||||
$title = $title . " (21:9)";
|
$title = $title . " (21:9)";
|
||||||
|
} else if ($ratio[0] == 853 && $ratio[1] == 360) {
|
||||||
|
// 21:9 720p calculates to 853:360
|
||||||
|
$title = $title . " (21:9)";
|
||||||
} else if ($ratio[0] == 8 && $ratio[1] == 5) {
|
} else if ($ratio[0] == 8 && $ratio[1] == 5) {
|
||||||
// common sense
|
// common sense
|
||||||
$title = $title . " (16:10)";
|
$title = $title . " (16:10)";
|
||||||
|
Loading…
Reference in New Issue
Block a user