From 8bbb8842044bf61c6fd8c77a85fb9c93df6c3b72 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 21 Apr 2003 07:43:39 +0000 Subject: [PATCH] Give 1ms instead of 0, since 0 may not give any time at all. Let's see if this helps keyboard lag. I could swear I tried this, but CVS says otherwise ... --- stepmania/src/StepMania.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index a52b5056b1..f33be54eae 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -576,7 +576,7 @@ static void GameLoop() DISPLAY->Flip(); if(g_bHasFocus) - SDL_Delay( 0 ); // give some time to other processes and threads + SDL_Delay( 1 ); // give some time to other processes and threads else SDL_Delay( 10 );// give some time to other processes and threads }