From 9101f2e5a0ae5eb79be43dc43cb6f4cb861c178c Mon Sep 17 00:00:00 2001 From: dhewg Date: Wed, 21 Dec 2011 14:13:16 +0100 Subject: [PATCH] Port Sys_Sleep() to SDL --- sys/sys_public.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/sys_public.h b/sys/sys_public.h index 3b4a80d..9a88355 100644 --- a/sys/sys_public.h +++ b/sys/sys_public.h @@ -143,11 +143,8 @@ void Sys_Printf( const char *msg, ... )id_attribute((format(printf,1,2))); void Sys_DebugPrintf( const char *fmt, ... )id_attribute((format(printf,1,2))); void Sys_DebugVPrintf( const char *fmt, va_list arg ); -// a decent minimum sleep time to avoid going below the process scheduler speeds -#define SYS_MINSLEEP 20 - // allow game to yield CPU time -// NOTE: due to SYS_MINSLEEP this is very bad portability karma, and should be completely removed +// NOTE: due to SDL_TIMESLICE this is very bad portability karma, and should be completely removed void Sys_Sleep( int msec ); // Sys_Milliseconds should only be used for profiling purposes,