notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some fixes
[libpicofe.git]
/
gp2x
/
emu.c
diff --git
a/gp2x/emu.c
b/gp2x/emu.c
index
a3e7f83
..
3ee96f2
100644
(file)
--- a/
gp2x/emu.c
+++ b/
gp2x/emu.c
@@
-11,7
+11,6
@@
#include <linux/limits.h>
\r
#include <ctype.h>
\r
#include <unistd.h>
\r
#include <linux/limits.h>
\r
#include <ctype.h>
\r
#include <unistd.h>
\r
-#include <sched.h>
\r
\r
#include <stdarg.h>
\r
\r
\r
#include <stdarg.h>
\r
\r
@@
-653,9
+652,6
@@
static void simpleWait(int thissec, int lim_time)
gettimeofday(&tval, 0);
\r
if (thissec != tval.tv_sec) tval.tv_usec+=1000000;
\r
\r
gettimeofday(&tval, 0);
\r
if (thissec != tval.tv_sec) tval.tv_usec+=1000000;
\r
\r
- if (tval.tv_usec < lim_time)
\r
- sched_yield();
\r
-
\r
while (tval.tv_usec < lim_time)
\r
{
\r
spend_cycles(1024);
\r
while (tval.tv_usec < lim_time)
\r
{
\r
spend_cycles(1024);
\r