mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-28 10:51:50 +01:00
16 lines
288 B
Plaintext
16 lines
288 B
Plaintext
<?php
|
|
$width = $argv[1];
|
|
$height = $argv[2];
|
|
|
|
$aspect = $width / (float)$height;
|
|
|
|
if (round($aspect*100.0) == 178)
|
|
exit(1);
|
|
|
|
$aspect = number_format((float)$aspect, 3, '.', '');
|
|
?>
|
|
[WoollyUW]
|
|
moduleMatches = 0x363CA665
|
|
0x10274058 = .float <?=$aspect?>
|
|
0x10001A44 = .float <?=$aspect?>
|