Build fix for win32.

This commit is contained in:
harry 2023-05-19 22:35:22 -04:00
parent e597f6a4a3
commit 2d896c10bc
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,6 @@
//---- Time Stamp Record //---- Time Stamp Record
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#if defined(WIN32) #if defined(WIN32)
uint64_t timeStampRecord::qpcFreq = 0;
#include <intrin.h> #include <intrin.h>
#pragma intrinsic(__rdtsc) #pragma intrinsic(__rdtsc)
#else #else
@ -31,6 +30,9 @@ namespace FCEU
{ {
uint64_t timeStampRecord::tscFreq = 0; uint64_t timeStampRecord::tscFreq = 0;
#if defined(WIN32)
uint64_t timeStampRecord::qpcFreq = 0;
#endif
void timeStampRecord::readNew(void) void timeStampRecord::readNew(void)
{ {