Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiLko authored Feb 8, 2024
1 parent aa86b75 commit 050db88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ class $modify(CCScheduler) {
}

using namespace std::literals;
float dt2 = (1.f / fixedFps);
float dt2 = (1.f / 60);
dt = (recorder.state == state::recording) ? dt * speedhackValue : dt;
auto startTime = std::chrono::high_resolution_clock::now();
int mult = static_cast<int>((dt + leftOver)/dt2);
Expand Down

0 comments on commit 050db88

Please sign in to comment.