mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-23 16:31:50 +01:00
Fix (7:3) bug
This commit is contained in:
parent
f7e5979474
commit
4e107a7dcb
@ -26,6 +26,9 @@ function get_title($width, $height) {
|
||||
} 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] == 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?
|
||||
$title = $title . " (21:9)";
|
||||
} else if ($ratio[0] == 8 && $ratio[1] == 5) {
|
||||
// common sense
|
||||
$title = $title . " (16:10)";
|
||||
|
Loading…
Reference in New Issue
Block a user