summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uisimulator/sdl/kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/sdl/kernel.c b/uisimulator/sdl/kernel.c
index 0db7546860..c17dc49dd6 100644
--- a/uisimulator/sdl/kernel.c
+++ b/uisimulator/sdl/kernel.c
@@ -59,7 +59,7 @@ void queue_wait_w_tmo(struct event_queue *q, struct event *ev, int ticks)
59 59
60 while(q->read == q->write && TIME_BEFORE( current_tick, timeout )) 60 while(q->read == q->write && TIME_BEFORE( current_tick, timeout ))
61 { 61 {
62 sleep(1); 62 sim_sleep(1);
63 } 63 }
64 64
65 if(q->read != q->write) 65 if(q->read != q->write)