mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
b59e919919
The original code assumed that we would always find a button in control_buttons. However, this is incorrect, since the iterator can and will be control_buttons.end() if the button that triggered the iterate code is not in control_buttons, which happens when it's in an exclude list.