Skip to content

Commit a866c0e

Browse files
committed
Use more accurate jump height
1 parent 41745ce commit a866c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooking/camera.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ void CemuHooks::hook_OverwriteCameraParam(PPCInterpreter_t* hCPU) {
602602
hCPU->instructionPointer = hCPU->sprNew.LR;
603603
if (paramNameStr == "JumpHeight") {
604604
// override jump height to 1.2 in first person mode to temporarily workaround the increased gravity effect
605-
uint32_t superLowAddress = 0x1031ADA4; // points to 1.2
605+
uint32_t superLowAddress = 0x100C50D0; // points to 1.2
606606
writeMemoryBE(hCPU->gpr[4], &superLowAddress);
607607
return;
608608
}

0 commit comments

Comments
 (0)