From d599d87df092ef9985eb9804734da77cd3c40103 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 10 Jan 2013 09:33:26 +0100 Subject: [PATCH] (PSL1GHT) Compile in usleep support --- general.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/general.h b/general.h index fb58ad52af..20aea8d040 100644 --- a/general.h +++ b/general.h @@ -61,8 +61,8 @@ #include "msvc/msvc_compat.h" #endif -// Wii -#if defined(GEKKO) +// Wii and PSL1GHT - for usleep (among others) +#if defined(GEKKO) || defined(__PSL1GHT__) #include #endif @@ -726,7 +726,7 @@ static inline void rarch_sleep(unsigned msec) Sleep(msec); #elif defined(XENON) udelay(1000 * msec); -#elif defined(GEKKO) +#elif defined(GEKKO) || defined(__PSL1GHT__) usleep(1000 * msec); #else struct timespec tv = {0};