summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-03-15 13:58:12 +0100
committerLéo Lam <leo@leolam.fr>2020-03-15 22:10:24 +0100
commit73e7f2a839dd63d5b5fdf6b7289a307cda7acb36 (patch)
tree8f8739ac73f4738a82d235e5ced267f7fc09d1ec /Source/Core/InputCommon/ControllerInterface
parentd297080f52425563dec8c83f837447bb8127efed (diff)
BTReal: Improve error handling for device opening
This commit attempts to improve error handling for device opening by reducing panic alert spam when opening one or several devices fails. Currently, Dolphin shows a panic alert for every device that we fail to open, and another panic alert at the end if no usable device was found. That is certainly a bit excessive -- we should only keep the very last panic alert (the one that is shown if everything fails) and we can just put the error for the last device open operation there. This also changes the PanicAlert to a CriticalAlert to ensure the message is visible even if the user has disabled regular panic alerts. The message has also been reworded and should hopefully be clearer.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
0 files changed, 0 insertions, 0 deletions