static HANDLE heventParent;
static HANDLE heventChild;
-void MaskExceptions (void);
void Sys_InitFloatTime (void);
-void Sys_PushFPCW_SetHigh (void);
-void Sys_PopFPCW (void);
volatile int sys_checksum;
}
-//#ifndef _M_IX86
-
-void Sys_SetFPCW (void)
-{
-}
-
-void Sys_PushFPCW_SetHigh (void)
-{
-}
-
-void Sys_PopFPCW (void)
-{
-}
-
-void MaskExceptions (void)
-{
-}
-
-//#endif
-
/*
================
Sys_Init
unsigned int lowpart, highpart;
OSVERSIONINFO vinfo;
- MaskExceptions ();
- Sys_SetFPCW ();
-
if (!QueryPerformanceFrequency (&PerformanceFreq))
Sys_Error ("No hardware timer available");
unsigned int temp, t2;
double time;
- Sys_PushFPCW_SetHigh ();
-
QueryPerformanceCounter (&PerformanceCount);
temp = ((unsigned int)PerformanceCount.LowPart >> lowshift) |
}
}
- Sys_PopFPCW ();
-
return curtime;
}