mirror of https://github.com/AxioDL/metaforce.git
Update hecl; disable MP1_VARIABLE_DELTA_TIME
This commit is contained in:
parent
6806d4914c
commit
654e3e705e
|
@ -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
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#define MP1_USE_BOO 0
|
||||
#endif
|
||||
#ifndef MP1_VARIABLE_DELTA_TIME
|
||||
#define MP1_VARIABLE_DELTA_TIME 1
|
||||
#define MP1_VARIABLE_DELTA_TIME 0
|
||||
#endif
|
||||
|
||||
#include "IMain.hpp"
|
||||
|
|
2
hecl
2
hecl
|
@ -1 +1 @@
|
|||
Subproject commit f64ed44fe8164b06ed5bef6344d9f743e2c5d638
|
||||
Subproject commit 29c768f8231fac3b1c6812829faa42457e98b47f
|
Loading…
Reference in New Issue