From 79d35d158acfa19f28d3ffee6cfba6ad3b831892 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Mon, 22 May 2017 14:16:48 +0200 Subject: [PATCH] Use variable --- input/input_driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/input/input_driver.c b/input/input_driver.c index d61debb062..dd1839eb12 100644 --- a/input/input_driver.c +++ b/input/input_driver.c @@ -649,6 +649,7 @@ uint64_t input_menu_keys_pressed(void *data, uint64_t last_input) { const struct retro_keybind *mtkey = &input_config_binds[0][RARCH_MENU_TOGGLE]; if ( + mtkey->valid && ((settings->uints.input_menu_toggle_gamepad_combo != INPUT_TOGGLE_NONE) && input_driver_toggle_button_combo( settings->uints.input_menu_toggle_gamepad_combo, last_input))