From 4504c9fba12bfdf320d6055a1bb1653e145e1d00 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 7 Jan 2016 00:11:58 +0100 Subject: [PATCH] Revert "I think this can be moved below this return block" This reverts commit a10e36ebb6ffdeb08ae052729ededff46d554e68. --- runloop.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runloop.c b/runloop.c index 5fdee3b108..6f8db08066 100644 --- a/runloop.c +++ b/runloop.c @@ -1359,14 +1359,15 @@ int runloop_iterate(unsigned *sleep_ms) if (menu_driver_iterate((enum menu_action)menu_input_frame_retropad(cmd.state[0], cmd.state[2])) == -1) rarch_ctl(RARCH_CTL_MENU_RUNNING_FINISHED, NULL); + if (focused || !is_idle) + menu_driver_ctl(RARCH_MENU_CTL_RENDER, NULL); + if (!focused || is_idle) { *sleep_ms = 10; return 1; } - menu_driver_ctl(RARCH_MENU_CTL_RENDER, NULL); - goto end; } #endif