mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-08-28 01:16:41 -04:00
Add HFR patches for 2D camera slope sensitivity.
This commit is contained in:
@@ -380,4 +380,9 @@ void Camera2DLerpFixMidAsmHook(PPCRegister& t, PPCRegister& deltaTime)
|
||||
t.f64 = ComputeLerpFactor(std::min<double>(1.0, t.f64 * 2.0), deltaTime.f64 / 60.0);
|
||||
}
|
||||
|
||||
void Camera2DSlopeLerpFixMidAsmHook(PPCRegister& t, PPCRegister& deltaTime)
|
||||
{
|
||||
t.f64 = ComputeLerpFactor(t.f64, deltaTime.f64 / 60.0);
|
||||
}
|
||||
|
||||
#pragma endregion
|
||||
|
||||
Reference in New Issue
Block a user