From b13a14d9236b956fe43cc8f72997f48cc6ee65da Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 21 Oct 2016 02:56:02 +0200 Subject: [PATCH] (runloop.c) Cleanups --- runloop.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/runloop.c b/runloop.c index 339331ccb4..ec5f7b077c 100644 --- a/runloop.c +++ b/runloop.c @@ -241,10 +241,8 @@ static bool runloop_cmd_get_state_menu_toggle_button_combo( * * Check if libretro pause key was pressed. If so, pause or * unpause the libretro core. - * - * Returns: true if libretro pause key was toggled, otherwise false. **/ -static bool runloop_check_pause( +static void runloop_check_pause( bool focus, bool pause_pressed, bool frameadvance_pressed) { @@ -266,11 +264,6 @@ static bool runloop_check_pause( if (cmd != CMD_EVENT_NONE) command_event(cmd, NULL); - - if (runloop_paused == old_is_paused) - return false; - - return true; } /** @@ -394,7 +387,6 @@ static bool runloop_check_state(event_cmd_state_t *cmd) /* Checks if the state increase/decrease keys have been pressed * for this frame. */ - if (runloop_cmd_triggered(cmd, RARCH_STATE_SLOT_PLUS)) { char msg[128];