mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
make yield() simply do a short sleep when simulated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@716 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ff351c1fcc
commit
76ccd61537
1 changed files with 2 additions and 0 deletions
|
|
@ -22,3 +22,5 @@
|
||||||
#define sleep(x) x11_sleep(x)
|
#define sleep(x) x11_sleep(x)
|
||||||
|
|
||||||
void x11_sleep(int);
|
void x11_sleep(int);
|
||||||
|
|
||||||
|
#define yield() x11_sleep(5)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue