mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-27 03:54:15 +01:00
19 lines
347 B
Plaintext
19 lines
347 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, '.', '');
|
||
|
?>
|
||
|
[sonic2013]
|
||
|
moduleMatches = 0x7FE07429, 0xC5691A40
|
||
|
0x100057B0 = .float <?=$aspect?>
|
||
|
|
||
|
[sonic2013_trial]
|
||
|
moduleMatches = 0xCA1DA800
|
||
|
0x10004B68 = .float <?=$aspect?>
|