From 40232ab5ca7d2eb5a6c523e47772a1ddbc320794 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 7 Feb 2022 14:33:49 +0000 Subject: [PATCH] Lets just default this cvar to 1, in the hopes that it'll force windows' timers to not be quite so lame. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6180 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/sys_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/sys_win.c b/engine/client/sys_win.c index e7f294d9e..66d2ac305 100644 --- a/engine/client/sys_win.c +++ b/engine/client/sys_win.c @@ -1542,7 +1542,7 @@ static void QDECL Sys_Priority_Changed(cvar_t *var, char *oldval) } static cvar_t sys_priority = CVARFCD("sys_highpriority", "0", CVAR_NOTFROMSERVER, Sys_Priority_Changed, "Controls the process priority"); static cvar_t sys_clocktype = CVARFCD("sys_clocktype", "", CVAR_NOTFROMSERVER, Sys_ClockType_Changed, "Controls which system clock to base timings from.\n0: auto\n1: timeGetTime (low precision).\n2: QueryPerformanceCounter (may drift, desync between cpu cores, or run fast with longer uptimes depending on cpu(s) and windows version).\n3: QueryPerformanceCounter-with-force-affinity (shouldn't drift, but may result in less cpu time available)."); -static cvar_t sys_clockprecision = CVARFCD("sys_clockprecision", "", CVAR_NOTFROMSERVER, Sys_ClockPrecision_Changed, "Attempts to control windows' interrupt interval, in milliseconds. This can cause windows to give better clock precision and shorter waits, but also more overhead from process rescheduling."); +static cvar_t sys_clockprecision = CVARFCD("sys_clockprecision", "1", CVAR_NOTFROMSERVER, Sys_ClockPrecision_Changed, "Attempts to control windows' interrupt interval, in milliseconds. This can cause windows to give better clock precision and shorter waits, but also more overhead from process rescheduling."); /* ================ Sys_Init