From 8162b77baee70dfb48c06b98cbd4e8b578005813 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 17 Jul 2015 03:12:52 +0200 Subject: [PATCH] Whitelist menu_toggle key --- input/input_driver.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/input/input_driver.c b/input/input_driver.c index 9a135977a3..73e3df6d62 100644 --- a/input/input_driver.c +++ b/input/input_driver.c @@ -209,7 +209,9 @@ retro_input_t input_driver_keys_pressed(void) for (key = 0; key < RARCH_BIND_LIST_END; key++) { bool state = false; - if ((!driver->block_libretro_input) || !driver->block_hotkey) + if ((!driver->block_libretro_input && + (((key < RARCH_FIRST_META_KEY) || key == RARCH_MENU_TOGGLE))) + || !driver->block_hotkey) state = input->key_pressed(driver->input_data, key); #ifdef HAVE_OVERLAY