#ifdef WIN32
-cvar_t sys_usetimegettime = {CVAR_SAVE, "sys_usetimegettime", "1"};
+cvar_t sys_usetimegettime = {CVAR_SAVE, "sys_usetimegettime", "1", "use windows timeGetTime function (which has issues on some motherboards) for timing rather than QueryPerformanceCounter timer (which has issues on multicore/multiprocessor machines and processors which are designed to conserve power)"};
#endif
void Sys_Error (const char *error, ...)
{
va_list argptr;
- char string[1024];
+ char string[MAX_INPUTLINE];
// change stdin to non blocking
#ifndef WIN32
if (!QueryPerformanceFrequency (&PerformanceFreq))
{
- Con_Printf ("No hardware timer available");
+ Con_Printf ("No hardware timer available\n");
// fall back to timeGetTime
Cvar_SetValueQuick(&sys_usetimegettime, true);
return Sys_DoubleTime();
{
if (cls.state == ca_dedicated)
{
- static char text[256];
+ static char text[MAX_INPUTLINE];
static unsigned int len = 0;
#ifdef WIN32
int c;