mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 21:01:37 +00:00
Decrease delta time error threshold.
This commit is contained in:
parent
b3b14b4154
commit
a17aa054dc
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ PPC_FUNC(sub_822C1130)
|
||||||
if (Config::FPS >= 15 && Config::FPS < 240)
|
if (Config::FPS >= 15 && Config::FPS < 240)
|
||||||
{
|
{
|
||||||
double targetDeltaTime = 1.0 / Config::FPS;
|
double targetDeltaTime = 1.0 / Config::FPS;
|
||||||
if (abs(ctx.f1.f64 - targetDeltaTime) < 0.001)
|
if (abs(ctx.f1.f64 - targetDeltaTime) < 0.00001)
|
||||||
ctx.f1.f64 = targetDeltaTime;
|
ctx.f1.f64 = targetDeltaTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue