mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 11:34:15 +01:00
da1b263604
* Add patches for ultrawide HyruleWarriors Credits go to Xalphenos!! * Extra space seems to be needed to build correctly * add 21:9 HyruleWarriors to build.sh
21 lines
397 B
Plaintext
21 lines
397 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, '.', '');
|
|
?>
|
|
[HyruleWarriors_219v208]
|
|
moduleMatches = 0xE159AE91
|
|
|
|
#rodata constant changes
|
|
|
|
0x1009609C = .float <?=$aspect?>
|
|
0x10096124 = .float <?=$aspect?>
|
|
0x10096948 = .float <?=$aspect?>
|
|
0x10096974 = .float <?=$aspect?>
|