Skip to content

Commit 0eacfc9

Browse files
committed
DisableRadialBlur Code
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
1 parent b4062c3 commit 0eacfc9

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
@@ -108,3 +108,8 @@ void FurtherObjectShadows(PPCRegister& scope)
108108

109109
scope.u32 = 1;
110110
}
111+
112+
bool DisableRadialBlur()
113+
{
114+
return Config::DisableRadialBlur;
115+
}

MarathonRecomp/user/config_def.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,6 @@ CONFIG_DEFINE_HIDDEN("Codes", bool, DisableEdgeGrabLeftover, false);
8282
CONFIG_DEFINE_HIDDEN("Codes", bool, TailsGauge, false);
8383
CONFIG_DEFINE_HIDDEN("Codes", bool, MidairControlForMachSpeed, false);
8484
CONFIG_DEFINE_HIDDEN("Codes", bool, MidairControlForSnowboards, false);
85+
CONFIG_DEFINE_HIDDEN("Codes", bool, DisableRadialBlur, false);
8586

8687
CONFIG_DEFINE("Update", time_t, LastChecked, 0);

MarathonRecompLib/config/Marathon.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,3 +199,8 @@ registers = ["r4"]
199199
name = "FurtherObjectShadows"
200200
address = 0x8260D7E0
201201
registers = ["r26"]
202+
203+
[[midasm_hook]]
204+
name = "DisableRadialBlur"
205+
address = 0x82653834
206+
jump_address_on_true = 0x82653840

0 commit comments

Comments
 (0)