cemu_graphic_packs/src/SuperSmashBros/Graphics/patch_AspectRatio.asm
Michael 6b4d39f6d5 [SSB4] Adjust game height variable in code as well
Helps with the HUD but the gameplay area still gets cut off
2022-03-10 20:26:33 -08:00

6 lines
282 B
NASM

[cross_f304]
moduleMatches = 0x63FAA900
0x03301E2C = li r3, (($aspectRatioWidth <= 16) * 1920) + (($aspectRatioWidth > 16) * (($width / $height) * $gameHeight))
0x03301E34 = li r3, (($aspectRatioHeight >= 9) * 1080) + (($aspectRatioHeight < 9) * (($height / $width) * $gameWidth))