(Xbox 1) Use Sleep for Xbox 1 as well

This commit is contained in:
TwinAphex51224 2012-06-25 00:03:56 +02:00
parent 1654c5b7d1
commit 2e18773ad7
2 changed files with 2 additions and 4 deletions

View File

@ -216,7 +216,7 @@ RETROARCH
/*============================================================ /*============================================================
THREAD THREAD
============================================================ */ ============================================================ */
#if !defined(GEKKO) || !defined(_XBOX1) #ifndef GEKKO
#include "../../thread.c" #include "../../thread.c"
#endif #endif

View File

@ -602,10 +602,8 @@ static inline void rarch_sleep(unsigned msec)
{ {
#ifdef __CELLOS_LV2__ #ifdef __CELLOS_LV2__
sys_timer_usleep(1000 * msec); sys_timer_usleep(1000 * msec);
#elif defined(_WIN32) && !defined(_XBOX1) #elif defined(_WIN32)
Sleep(msec); Sleep(msec);
#elif defined(_XBOX1)
//stub
#elif defined(XENON) #elif defined(XENON)
udelay(1000 * msec); udelay(1000 * msec);
#elif defined(GEKKO) #elif defined(GEKKO)