From 6512e5ff6e9de4d9dd63776af21ab0b387421a83 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 21 Feb 2016 12:11:08 +0100 Subject: [PATCH] Move this check - this should serve as a framerate limiter for the menu --- runloop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runloop.c b/runloop.c index aa1f5bfae9..5165252d02 100644 --- a/runloop.c +++ b/runloop.c @@ -1446,11 +1446,11 @@ int runloop_iterate(unsigned *sleep_ms) unlock_autosave(); #endif + if (!settings->fastforward_ratio) + return 0; #ifdef HAVE_MENU end: #endif - if (!settings->fastforward_ratio) - return 0; current = retro_get_time_usec(); target = frame_limit_last_time +