summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/thread-sdl.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-07-31 15:13:31 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-07-31 15:13:31 +0000
commit8a7b9161ab0c11f9415f8c7b743b9c4de95ada4c (patch)
tree5dcb6455fc15b2428e503fba363f0b89d0cbad8e /uisimulator/sdl/thread-sdl.c
parent957bf22879228fdd64eade39585855c7ba63c6cd (diff)
downloadrockbox-8a7b9161ab0c11f9415f8c7b743b9c4de95ada4c.tar.gz
rockbox-8a7b9161ab0c11f9415f8c7b743b9c4de95ada4c.zip
Adjust the counter even higher so it should work quite stable now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10385 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/thread-sdl.c')
-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;