mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-12 22:52:28 -05:00
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:
parent
e45c069d69
commit
879fabdb1d
4 changed files with 81 additions and 22 deletions
|
|
@ -31,6 +31,7 @@ void sleep(int ticks)
|
|||
|
||||
void yield (void)
|
||||
{
|
||||
Sleep (1); /* prevent busy loop */
|
||||
PostThreadMessage (GetWindowThreadProcessId (hGUIWnd,NULL), TM_YIELD, 0, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue