Skip to content

Commit

Permalink
[SSB4] Adjust game height variable in code as well
Browse files Browse the repository at this point in the history
Helps with the HUD but the gameplay area still gets cut off
  • Loading branch information
ActualMandM committed Mar 11, 2022
1 parent 5df327f commit 6b4d39f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SuperSmashBros/Graphics/patch_AspectRatio.asm
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[cross_f304]
moduleMatches = 0x63FAA900

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

0 comments on commit 6b4d39f

Please sign in to comment.