cemu_graphic_packs/Source/SonicLostWorld/patches.txt
2017-10-18 16:53:28 -07:00

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?>