From 943347080b822e3aa30a07882fb7fb8ad708a0dc Mon Sep 17 00:00:00 2001 From: Crementif <26669564+Crementif@users.noreply.github.com> Date: Thu, 3 Aug 2023 15:58:25 +0200 Subject: [PATCH] [BotW] Minor formatting updates --- .../Cheats/MasterModeOptions/patch_MasterModeOptions.asm | 2 +- src/BreathOfTheWild/Graphics/patch_AspectRatio.asm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BreathOfTheWild/Cheats/MasterModeOptions/patch_MasterModeOptions.asm b/src/BreathOfTheWild/Cheats/MasterModeOptions/patch_MasterModeOptions.asm index 39bad1c1..d682bfee 100644 --- a/src/BreathOfTheWild/Cheats/MasterModeOptions/patch_MasterModeOptions.asm +++ b/src/BreathOfTheWild/Cheats/MasterModeOptions/patch_MasterModeOptions.asm @@ -1,4 +1,4 @@ -[BotwMasterModeOptionsV208] +[BotW_MasterModeOptions_V208] moduleMatches = 0x6267BFD0 # Constants diff --git a/src/BreathOfTheWild/Graphics/patch_AspectRatio.asm b/src/BreathOfTheWild/Graphics/patch_AspectRatio.asm index 520e9aff..a0901e43 100644 --- a/src/BreathOfTheWild/Graphics/patch_AspectRatio.asm +++ b/src/BreathOfTheWild/Graphics/patch_AspectRatio.asm @@ -4,7 +4,7 @@ moduleMatches = 0xD91A406D,0x0F748D9C,0x9A61FF4C,0x8E3324A9,0xD71D859D,0x6FD41A6 .origin = codecave aspectRatio: -.float $width/$height +.float ($width/$height) grassCulling: ; The grass is calculated in a weird way, but this fix seems to work. So for safety, only enable it for ultrawide resolutions. .float (($ultrawideHUDMode != 0)*(($gameWidth/$gameHeight) / ($width/$height))) + (($ultrawideHUDMode == 0)*1.0)