summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uisimulator/sdl/thread-sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/sdl/thread-sdl.c b/uisimulator/sdl/thread-sdl.c
index 9377ba5219..0090c76ab2 100644
--- a/uisimulator/sdl/thread-sdl.c
+++ b/uisimulator/sdl/thread-sdl.c
@@ -35,7 +35,7 @@ void yield(void)
35 static int counter = 0; 35 static int counter = 0;
36 36
37 SDL_mutexV(m); 37 SDL_mutexV(m);
38 if (counter++ >= 5) 38 if (counter++ >= 50)
39 { 39 {
40 SDL_Delay(1); 40 SDL_Delay(1);
41 counter = 0; 41 counter = 0;