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
This commit is contained in:
Felix Arends 2002-10-16 16:26:09 +00:00
parent e45c069d69
commit 879fabdb1d
4 changed files with 81 additions and 22 deletions

View file

@ -31,6 +31,7 @@ void sleep(int ticks)
void yield (void)
{
Sleep (1); /* prevent busy loop */
PostThreadMessage (GetWindowThreadProcessId (hGUIWnd,NULL), TM_YIELD, 0, 0);
}