From ef1f5d251f6ca032ae7c60fa29e0bcb5690b17c4 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 11 Aug 2013 15:34:32 +0200 Subject: [PATCH] Don't use anti-jitter on consoles. Not compatible. --- gfx/thread_wrapper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gfx/thread_wrapper.c b/gfx/thread_wrapper.c index 380fefe6e5..6a7a58a61a 100644 --- a/gfx/thread_wrapper.c +++ b/gfx/thread_wrapper.c @@ -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)