2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-12 18:46:10 +00:00

Update hecl; disable MP1_VARIABLE_DELTA_TIME

This commit is contained in:
2020-04-13 15:01:57 -04:00
parent 6806d4914c
commit 654e3e705e
3 changed files with 3 additions and 3 deletions

View File

@@ -844,7 +844,7 @@ bool CMain::Proc() {
m_firstFrame = false;
} else {
using delta_duration = std::chrono::duration<float, std::ratio<1>>;
dt = std::min(std::chrono::duration_cast<delta_duration>(now - m_prevFrameTime).count(), dt);
dt = std::min(std::chrono::duration_cast<delta_duration>(now - m_prevFrameTime).count(), 1 / 30.f);
}
m_prevFrameTime = now;
#endif