mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Whitelist menu_toggle key
This commit is contained in:
parent
a2af5252c1
commit
8162b77bae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user