mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 13:55:38 +00:00
DSB.h: when generating a debug build in gcc w/ -g, k_framePeriod was causing a linker error. Not sure why k_timerPeriod wasn't but made them both constexpr.
This commit is contained in:
parent
ccca9afceb
commit
a57b379498
|
@ -324,8 +324,8 @@ private:
|
||||||
|
|
||||||
// M68K CPU
|
// M68K CPU
|
||||||
M68KCtx M68K;
|
M68KCtx M68K;
|
||||||
static const int k_framePeriod = 11000000/60;
|
static constexpr int k_framePeriod = 11000000/60;
|
||||||
static const int k_timerPeriod = 11000000/1000; // 1KHz timer
|
static constexpr int k_timerPeriod = 11000000/1000; // 1KHz timer
|
||||||
int m_cyclesElapsedThisFrame;
|
int m_cyclesElapsedThisFrame;
|
||||||
int m_nextTimerInterruptCycles;
|
int m_nextTimerInterruptCycles;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue