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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user