X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=platform%2Fgp2x%2Femu.c;h=3ee96f2bb982938b353bf558d5c284708ad6bfb8;hb=d6114368e1ee2cc4e6f0eb2785a1fce626987897;hp=a3e7f83ec6562e783b01e17f61674a83cbaab903;hpb=a5f80ce405bdb5377ed58a2525819ca1a8e11685;p=picodrive.git diff --git a/platform/gp2x/emu.c b/platform/gp2x/emu.c index a3e7f83..3ee96f2 100644 --- a/platform/gp2x/emu.c +++ b/platform/gp2x/emu.c @@ -11,7 +11,6 @@ #include #include #include -#include #include @@ -653,9 +652,6 @@ static void simpleWait(int thissec, int lim_time) gettimeofday(&tval, 0); if (thissec != tval.tv_sec) tval.tv_usec+=1000000; - if (tval.tv_usec < lim_time) - sched_yield(); - while (tval.tv_usec < lim_time) { spend_cycles(1024);