mirror of
https://github.com/libretro/RetroArch
synced 2025-02-12 00:40:26 +00:00
Merge pull request #12133 from crystalct/master
Add some PSL1GHT ifdefs
This commit is contained in:
commit
922e3b1849
@ -861,6 +861,13 @@ bool scond_wait_timeout(scond_t *cond, slock_t *lock, int64_t timeout_us)
|
|||||||
mach_port_deallocate(mach_task_self(), cclock);
|
mach_port_deallocate(mach_task_self(), cclock);
|
||||||
now.tv_sec = mts.tv_sec;
|
now.tv_sec = mts.tv_sec;
|
||||||
now.tv_nsec = mts.tv_nsec;
|
now.tv_nsec = mts.tv_nsec;
|
||||||
|
#elif !defined(__PSL1GHT__) && defined(__PS3__)
|
||||||
|
sys_time_sec_t s;
|
||||||
|
sys_time_nsec_t n;
|
||||||
|
|
||||||
|
sys_time_get_current_time(&s, &n);
|
||||||
|
now.tv_sec = s;
|
||||||
|
now.tv_nsec = n;
|
||||||
#elif defined(PS2)
|
#elif defined(PS2)
|
||||||
int tickms = ps2_clock();
|
int tickms = ps2_clock();
|
||||||
now.tv_sec = tickms/1000;
|
now.tv_sec = tickms/1000;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user