cemu_graphic_packs/Source/HyruleWarriors/patches.txt
nosklo da1b263604 Hyrule Warriors Ultrawide (#169)
* 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
2018-01-25 13:26:25 -08:00

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