diff --git a/MarathonRecomp/patches/misc_patches.cpp b/MarathonRecomp/patches/misc_patches.cpp index 8096aec78..cda64792b 100644 --- a/MarathonRecomp/patches/misc_patches.cpp +++ b/MarathonRecomp/patches/misc_patches.cpp @@ -113,3 +113,5 @@ PPC_FUNC(sub_824A6EA8) __imp__sub_824A6EA8(ctx, base); } + +void NOP() {} diff --git a/MarathonRecompLib/config/Marathon.toml b/MarathonRecompLib/config/Marathon.toml index c0dc500bf..852886a90 100644 --- a/MarathonRecompLib/config/Marathon.toml +++ b/MarathonRecompLib/config/Marathon.toml @@ -289,3 +289,51 @@ jump_address_on_true = 0x821A2988 name = "ControllableSpinkick" address = 0x821A7A04 jump_address_on_true = 0x821A7A08 + +# Skip SPAABBTree initialisation for point light search +[[midasm_hook]] +name = "NOP" +address = 0x8258DBC4 +jump_address = 0x8258DBE0 + +# Skip SPAABBTree initialisation for point light search +[[midasm_hook]] +name = "NOP" +address = 0x8258DF60 +jump_address = 0x8258DF7C + +# Skip SPAABBTree initialisation for point light search +[[midasm_hook]] +name = "NOP" +address = 0x8258E29C +jump_address = 0x8258E2B8 + +# Skip SPAABBTree initialisation for point light search +[[midasm_hook]] +name = "NOP" +address = 0x8258E598 +jump_address = 0x8258E5B4 + +# Skip point light update optimisation +[[midasm_hook]] +name = "NOP" +address = 0x8258DC28 +jump_address = 0x8258DC2C + +# Skip point light update optimisation +[[midasm_hook]] +name = "NOP" +address = 0x8258DFC4 +jump_address = 0x8258DFC8 + +# Skip point light update optimisation +[[midasm_hook]] +name = "NOP" +address = 0x8258E304 +jump_address = 0x8258E308 + +# Skip point light update optimisation +[[midasm_hook]] +name = "NOP" +address = 0x8258E600 +jump_address = 0x8258E604