dolphin/Source/Core/Core/IOS/USB
Léo Lam 73e7f2a839 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.
2020-03-15 22:10:24 +01:00
..
Bluetooth BTReal: Improve error handling for device opening 2020-03-15 22:10:24 +01:00
OH0 Use std::istringstream or std::ostringstream instead of std::stringstream where possible. 2019-12-29 23:45:02 -05:00
USB_HID Common: Unify logging namespace with Common 2019-11-28 05:13:21 -05:00
USB_VEN Common: Unify logging namespace with Common 2019-11-28 05:13:21 -05:00
Common.cpp Core/IOS: Use fmt where applicable 2019-06-20 11:50:02 -04:00
Common.h IOS/USB: Claim all interfaces ahead-of-time 2019-05-24 20:47:46 +02:00
Host.cpp Use separate libusb contexts to avoid thread safety issues 2019-06-26 17:55:51 +02:00
Host.h Use separate libusb contexts to avoid thread safety issues 2019-06-26 17:55:51 +02:00
LibusbDevice.cpp Move libusb utilities to LibusbUtils 2019-05-27 20:09:55 +02:00
LibusbDevice.h Move libusb utilities to LibusbUtils 2019-05-27 20:09:55 +02:00
USB_KBD.cpp Fix several warnings 2020-01-04 12:11:39 +01:00
USB_KBD.h IOS/USB_KBD: Normalize variable names 2019-05-31 09:05:31 -04:00
USBV4.cpp StringUtil: Add IsPrintableCharacter and use it 2020-01-16 00:22:26 +01:00
USBV4.h Use nested namespaces for IOS HLE 2018-05-30 11:40:05 +02:00
USBV5.cpp IOS/USB: Claim all interfaces ahead-of-time 2019-05-24 20:47:46 +02:00
USBV5.h Use nested namespaces for IOS HLE 2018-05-30 11:40:05 +02:00
USBV0.cpp Use nested namespaces for IOS HLE 2018-05-30 11:40:05 +02:00
USBV0.h Use nested namespaces for IOS HLE 2018-05-30 11:40:05 +02:00