From 879fabdb1de9a08bb84720059e02783aa4f393c7 Mon Sep 17 00:00:00 2001 From: Felix Arends Date: Wed, 16 Oct 2002 16:26:09 +0000 Subject: finally up-to-date: the win32 simulator (at least for the recorder) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2685 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/win32/kernel.c | 1 + 1 file changed, 1 insertion(+) (limited to 'uisimulator/win32/kernel.c') diff --git a/uisimulator/win32/kernel.c b/uisimulator/win32/kernel.c index 3410bc9cc9..045b03d330 100644 --- a/uisimulator/win32/kernel.c +++ b/uisimulator/win32/kernel.c @@ -31,6 +31,7 @@ void sleep(int ticks) void yield (void) { + Sleep (1); /* prevent busy loop */ PostThreadMessage (GetWindowThreadProcessId (hGUIWnd,NULL), TM_YIELD, 0, 0); } -- cgit v1.2.3