Skip to content

Commit 980f69d

Browse files
author
ReimousTH
committed
Config and Style Fix
1 parent 05b519a commit 980f69d

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

MarathonRecomp/patches/player_patches.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,10 @@ void RestoreChaosBoostJump(PPCRegister& r10, PPCRegister& r11)
198198
r11.u32 = 2;
199199
}
200200

201-
202201
void RestoreChainJumpFlips1(PPCRegister& r_ObjectPlayer, PPCRegister& r_Message,PPCRegister& r_ObjectContext,PPCRegister& f1, PPCRegister& f2, PPCRegister& f3)
203202
{
203+
if (!Config::RestoreChainJumpFlips)
204+
return;
204205
struct Message0x11047
205206
{
206207
be<uint32_t> m_id;

MarathonRecompLib/config/Marathon.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,6 @@ name = "RestoreChainJumpFlips1"
375375
address = 0x82199654
376376
registers = ["r31","r30","r11","f1", "f2", "f3"]
377377

378-
[[midasm_hook]]
379-
name = "RestoreChainJumpFlips2"
380-
address = 0x82199654
381-
registers = ["r10","r11","r3"]
382-
383378
[[midasm_hook]]
384379
name = "DisablePushState"
385380
address = 0x821A03F0

0 commit comments

Comments
 (0)