From c27075d9d6578b4e02070f751f2bcac048c6df44 Mon Sep 17 00:00:00 2001 From: sonninnos <45124675+sonninnos@users.noreply.github.com> Date: Wed, 6 Nov 2024 10:19:00 +0200 Subject: [PATCH] Ignore other hotkeys with menu toggle (#17165) --- input/input_driver.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/input/input_driver.c b/input/input_driver.c index 17a48877ee..c0581b3530 100644 --- a/input/input_driver.c +++ b/input/input_driver.c @@ -5642,6 +5642,10 @@ static void input_keys_pressed( } BIT256_SET_PTR(p_new_state, i); + + /* Ignore all other hotkeys if menu toggle is pressed */ + if (i == RARCH_MENU_TOGGLE) + break; } } }