Skip to content

Commit a4a07f7

Browse files
committed
Always animate peds at full framerate
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
1 parent 57973e7 commit a4a07f7

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

MarathonRecomp/patches/misc_patches.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,7 @@ void PostureDisableEdgeGrabLeftover(PPCRegister& posture) {
9393
auto base = g_memory.base;
9494
*(volatile uint8_t*)(base + (posture.u32 + 0x3C0)) = 1;
9595
}
96+
97+
void PedestrianAnimationLOD(PPCRegister& val) {
98+
val.u32 = 0;
99+
}

MarathonRecompLib/config/Marathon.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,9 @@ registers = ["r5", "r31"]
153153
name = "PostureDisableEdgeGrabLeftover"
154154
address = 0x82200568
155155
registers = ["r31"]
156+
157+
[[midasm_hook]]
158+
name = "PedestrianAnimationLOD"
159+
address = 0x824C2808
160+
registers = ["r29"]
161+
after_instruction = true

0 commit comments

Comments
 (0)