summaryrefslogtreecommitdiffstats
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.tar.bz2
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)
static int counter = 0;
SDL_mutexV(m);
- if (counter++ >= 5)
+ if (counter++ >= 50)
{
SDL_Delay(1);
counter = 0;