mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 23:06:40 +00:00
Add in PS3 define for ssnes_sleep
This commit is contained in:
parent
6da64013fa
commit
27b975d0fc
@ -32,6 +32,10 @@
|
||||
#include "cheats.h"
|
||||
#include "audio/ext/ssnes_dsp.h"
|
||||
|
||||
#ifdef __CELLOS_LV2__
|
||||
#include <sys/timer.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
@ -394,7 +398,9 @@ static inline uint8_t is_little_endian(void)
|
||||
|
||||
static inline void ssnes_sleep(unsigned msec)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
#ifdef __CELLOS_LV2__
|
||||
sys_timer_usleep(1000 * msec);
|
||||
#elif defined(_WIN32)
|
||||
Sleep(msec);
|
||||
#else
|
||||
struct timespec tv = {
|
||||
|
Loading…
Reference in New Issue
Block a user