mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 11:34:15 +01:00
Updated functions to display 32:9 ratios
This commit is contained in:
parent
9efbda08f4
commit
faa75b6c5b
@ -19,7 +19,7 @@ function simplify($num,$den) {
|
||||
function get_title($width, $height) {
|
||||
$title = $width . "x" . $height;
|
||||
$ratio = simplify($width, $height);
|
||||
if ($ratio[0] != 16 && $ratio[1] != 9) {
|
||||
if (!($ratio[0] == 16 && $ratio[1] == 9)) {
|
||||
if ($ratio[0] == 64 && $ratio[1] == 27) {
|
||||
// 64:27 is the true ratio, but 21:9 is the common approximation
|
||||
$title = $title . " (21:9)";
|
||||
|
Loading…
Reference in New Issue
Block a user