mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 19:21:27 +00:00
(GX/GEKKO/RTHREADS) scond_wait_timeout - correct Gekko codepath
This commit is contained in:
parent
8590dd6425
commit
1440196fa0
@ -855,7 +855,6 @@ bool scond_wait_timeout(scond_t *cond, slock_t *lock, int64_t timeout_us)
|
||||
_ftime64_s(&now);
|
||||
#elif defined(GEKKO)
|
||||
/* Avoid gettimeofday due to it being reported to be broken */
|
||||
struct timeval tm;
|
||||
const uint64_t tickms = gettime() / TB_TIMER_CLOCK;
|
||||
now.tv_sec = tickms / 1000;
|
||||
now.tv_nsec = tickms * 1000;
|
||||
|
Loading…
x
Reference in New Issue
Block a user