mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-07 02:05:19 +01:00

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.