dolphin/Source/Core
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
..
AudioCommon Use std::istringstream or std::ostringstream instead of std::stringstream where possible. 2019-12-29 23:45:02 -05:00
Common StringUtil: Add IsPrintableCharacter and use it 2020-01-16 00:22:26 +01:00
Core StringUtil: Add IsPrintableCharacter and use it 2020-01-16 00:22:26 +01:00
DiscIO StringUtil: Add IsPrintableCharacter and use it 2020-01-16 00:22:26 +01:00
DolphinNoGUI Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
DolphinQt StringUtil: Add IsPrintableCharacter and use it 2020-01-16 00:22:26 +01:00
InputCommon Merge pull request #8474 from jordan-woyak/dsu-battery 2020-01-13 18:30:53 -05:00
MacUpdater Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
UICommon Use pre-increment for iterators instead of post-increment. 2019-12-29 23:45:02 -05:00
UpdaterCommon Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
VideoBackends Use pre-increment for iterators instead of post-increment. 2019-12-29 23:45:02 -05:00
VideoCommon Use std::istringstream or std::ostringstream instead of std::stringstream where possible. 2019-12-29 23:45:02 -05:00
WinUpdater Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
CMakeLists.txt WinUpdater: Add CMakeLists.txt 2019-05-08 23:59:04 +02:00