Fix exhumed compiling

# Conflicts:
#	source/exhumed/src/exhumed.cpp
#	source/exhumed/src/menu.cpp
This commit is contained in:
nukeykt 2019-12-30 04:25:40 +09:00 committed by Christoph Oelckers
parent a5351620db
commit 62c37b64ae
2 changed files with 2 additions and 2 deletions

View file

@ -249,7 +249,7 @@ extern int bVanilla;
extern double g_frameDelay; extern double g_frameDelay;
static inline double calcFrameDelay(int const maxFPS) { return maxFPS > 0 ? (timerGetFreqU64()/(double)maxFPS) : 0.0; } static inline double calcFrameDelay(unsigned int const maxFPS) { return maxFPS ? timerGetPerformanceFrequency() / (double)maxFPS : 0.0; }
enum { enum {
kPalNormal = 0, kPalNormal = 0,

View file

@ -335,7 +335,7 @@ void menu_DoPlasma()
//uint32_t t = time(0) << 16; //uint32_t t = time(0) << 16;
//uint32_t t2 = time(0) | t; //uint32_t t2 = time(0) | t;
nRandom = timerGetTicksU64(); nRandom = timerGetPerformanceCounter();
for (int i = 0; i < 5; i++) for (int i = 0; i < 5; i++)
{ {