dolphin/Source/Core/Core/IOS/USB
Léo Lam 89b0ab2d22 StringUtil: Add IsPrintableCharacter and use it
Add a function that safely returns whether a character is printable
i.e. whether 0x20 <= c <= 0x7e is true.

This is done in several places in our codebase and it's easy to run
into undefined behaviour if the C version defined in <cctype>
is used instead of this one, since its behaviour is undefined
if the character is not representable as an unsigned char.

This fixes MemoryViewWidget.
2020-01-16 00:22:26 +01:00
..
Bluetooth Fix several warnings 2020-01-04 12:11:39 +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