Make atari800 compile again for PSP

This commit is contained in:
Francisco Javier Trujillo Mata
2020-01-04 12:31:41 +01:00
parent d740a6048b
commit d78c2942c2
5 changed files with 60 additions and 14 deletions
+3 -1
View File
@@ -53,6 +53,8 @@
#ifdef VITA
#include <psp2/kernel/threadmgr.h>
#elif defined(PSP)
#include <pspthreadman.h>
#endif
#include "atari.h"
@@ -484,7 +486,7 @@ void Util_sleep(double s)
#if defined(WIIU)
/* no need to sleep on retroarch (we are awake) so bypass it for wiiu */
return;
#elif defined(VITA)
#elif defined(VITA) || defined(PSP)
sceKernelDelayThread(1e6 * s);
#else