mirror of
https://github.com/libretro/RetroArch
synced 2025-02-27 00:40:20 +00:00
Don't use anti-jitter on consoles.
Not compatible.
This commit is contained in:
parent
1389a1e37c
commit
ef1f5d251f
@ -398,6 +398,8 @@ static bool thread_frame(void *data, const void *frame_,
|
||||
|
||||
slock_lock(thr->lock);
|
||||
|
||||
// scond_wait_timeout cannot be implemented on consoles.
|
||||
#ifndef RARCH_CONSOLE
|
||||
if (!thr->nonblock)
|
||||
{
|
||||
rarch_time_t target = thr->last_time + thr->target_frame_time;
|
||||
@ -414,6 +416,7 @@ static bool thread_frame(void *data, const void *frame_,
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// Drop frame if updated flag is still set, as thread is still working on last frame.
|
||||
if (!thr->frame.updated)
|
||||
|
Loading…
x
Reference in New Issue
Block a user