From 00af8fa7dbffa4daf4d143dbbb2fcec7ab75e9f3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 6 Aug 2015 03:43:19 +0200 Subject: [PATCH] Cleanups --- runloop.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/runloop.c b/runloop.c index 7478029589..63b657e5a1 100644 --- a/runloop.c +++ b/runloop.c @@ -518,9 +518,6 @@ static int do_pause_state_checks( static int do_state_checks(driver_t *driver, settings_t *settings, global_t *global, event_cmd_state_t *cmd) { - if (main_is_idle) - return 1; - if (cmd->screenshot_pressed) event_command(EVENT_CMD_TAKE_SCREENSHOT); @@ -1058,7 +1055,7 @@ int rarch_main_iterate(void) goto quit; } - if (do_state_checks(driver, settings, global, &cmd)) + if (main_is_idle || do_state_checks(driver, settings, global, &cmd)) { /* RetroArch has been paused */ driver->retro_ctx.poll_cb();