Skip to content

Commit dae8dec

Browse files
DisableKingdomValleyMist (#139)
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
1 parent ca2cb1f commit dae8dec

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

MarathonRecomp/patches/video_patches.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,8 @@ bool DisableRadialBlur()
113113
{
114114
return Config::RadialBlur == ERadialBlur::Off;
115115
}
116+
117+
bool DisableKingdomValleyMist()
118+
{
119+
return Config::DisableKingdomValleyMist;
120+
}

MarathonRecomp/user/config_def.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ CONFIG_DEFINE_ENUM_LOCALISED("Video", EUIAlignmentMode, UIAlignmentMode, EUIAlig
7676

7777
CONFIG_DEFINE_HIDDEN("Codes", bool, DisableDWMRoundedCorners, false);
7878
CONFIG_DEFINE_HIDDEN("Codes", bool, DisableTitleInputDelay, false);
79+
CONFIG_DEFINE_HIDDEN("Codes", bool, DisableKingdomValleyMist, false);
7980
CONFIG_DEFINE_HIDDEN("Codes", bool, HUDToggleKey, false);
8081
CONFIG_DEFINE_HIDDEN("Codes", bool, SkipIntroLogos, false);
8182
CONFIG_DEFINE_HIDDEN("Codes", bool, FixPowerUpJingleDuration, false);

MarathonRecompLib/config/Marathon.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,11 @@ name = "DisableRadialBlur"
195195
address = 0x82653834
196196
jump_address_on_true = 0x82653840
197197

198+
[[midasm_hook]]
199+
name = "DisableKingdomValleyMist"
200+
address = 0x82311E50
201+
jump_address_on_true = 0x82311E54
202+
198203
[[midasm_hook]]
199204
name = "PostureControlRotationSpeedFix"
200205
address = 0x82201C6C

0 commit comments

Comments
 (0)