From 913a5ba5ba65293fd9898de53252ff66081eecca Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 22 Jan 2017 01:55:19 +0100 Subject: [PATCH] (runloop.c) Get rid of some runloop_ctl calls --- runloop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runloop.c b/runloop.c index 131062f6ed..4991ba0c5b 100644 --- a/runloop.c +++ b/runloop.c @@ -892,7 +892,7 @@ static enum runloop_state runloop_check_state( if (runloop_cmd_triggered(trigger_input, RARCH_FULLSCREEN_TOGGLE_KEY)) { command_event(CMD_EVENT_FULLSCREEN_TOGGLE, NULL); - if (!runloop_ctl(RUNLOOP_CTL_IS_IDLE, NULL)) + if (!runloop_idle) video_driver_cached_frame(); } @@ -976,7 +976,7 @@ static enum runloop_state runloop_check_state( /* Checks if slowmotion toggle/hold was being pressed and/or held. */ if (settings->video.black_frame_insertion) { - if (!runloop_ctl(RUNLOOP_CTL_IS_IDLE, NULL)) + if (!runloop_idle) video_driver_cached_frame(); }