From 28ac662440c6ed83c06d8bce5fad20b9fb3f6f9b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 16 Sep 2015 12:30:47 +0200 Subject: [PATCH] Cleanups --- runloop.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/runloop.c b/runloop.c index 83faab5636..fa516bb64a 100644 --- a/runloop.c +++ b/runloop.c @@ -232,8 +232,7 @@ static void check_rewind(settings_t *settings, * * Checks if slowmotion toggle/hold was being pressed and/or held. **/ -static void check_slowmotion(settings_t *settings, global_t *global, - bool slowmotion_pressed) +static void check_slowmotion(settings_t *settings, bool slowmotion_pressed) { main_is_slowmotion = slowmotion_pressed; @@ -561,7 +560,7 @@ static int do_state_checks(driver_t *driver, settings_t *settings, event_command(EVENT_CMD_LOAD_STATE); check_rewind(settings, global, cmd->rewind_pressed); - check_slowmotion(settings, global, cmd->slowmotion_pressed); + check_slowmotion(settings, cmd->slowmotion_pressed); if (cmd->movie_record) check_movie(global);