Skip to content

Commit f984205

Browse files
Point Light Fixes (#146)
* Point Light Fixes Signed-off-by: Isaac Marovitz <isaacryu@icloud.com> * Hyper suggestions Signed-off-by: Isaac Marovitz <isaacryu@icloud.com> * Fix typo Signed-off-by: Isaac Marovitz <isaacryu@icloud.com> --------- Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
1 parent aac3764 commit f984205

2 files changed

Lines changed: 50 additions & 0 deletions

File tree

MarathonRecomp/patches/misc_patches.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,5 @@ PPC_FUNC(sub_824A6EA8)
113113

114114
__imp__sub_824A6EA8(ctx, base);
115115
}
116+
117+
void NOP() {}

MarathonRecompLib/config/Marathon.toml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,3 +289,51 @@ jump_address_on_true = 0x821A2988
289289
name = "ControllableSpinkick"
290290
address = 0x821A7A04
291291
jump_address_on_true = 0x821A7A08
292+
293+
# Skip SPAABBTree initialisation for point light search
294+
[[midasm_hook]]
295+
name = "NOP"
296+
address = 0x8258DBC4
297+
jump_address = 0x8258DBE0
298+
299+
# Skip SPAABBTree initialisation for point light search
300+
[[midasm_hook]]
301+
name = "NOP"
302+
address = 0x8258DF60
303+
jump_address = 0x8258DF7C
304+
305+
# Skip SPAABBTree initialisation for point light search
306+
[[midasm_hook]]
307+
name = "NOP"
308+
address = 0x8258E29C
309+
jump_address = 0x8258E2B8
310+
311+
# Skip SPAABBTree initialisation for point light search
312+
[[midasm_hook]]
313+
name = "NOP"
314+
address = 0x8258E598
315+
jump_address = 0x8258E5B4
316+
317+
# Skip point light update optimisation
318+
[[midasm_hook]]
319+
name = "NOP"
320+
address = 0x8258DC28
321+
jump_address = 0x8258DC2C
322+
323+
# Skip point light update optimisation
324+
[[midasm_hook]]
325+
name = "NOP"
326+
address = 0x8258DFC4
327+
jump_address = 0x8258DFC8
328+
329+
# Skip point light update optimisation
330+
[[midasm_hook]]
331+
name = "NOP"
332+
address = 0x8258E304
333+
jump_address = 0x8258E308
334+
335+
# Skip point light update optimisation
336+
[[midasm_hook]]
337+
name = "NOP"
338+
address = 0x8258E600
339+
jump_address = 0x8258E604

0 commit comments

Comments
 (0)