Whitelist menu_toggle key

This commit is contained in:
twinaphex 2015-07-17 03:12:52 +02:00
parent a2af5252c1
commit 8162b77bae

View File

@ -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