1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-09-18 21:13:23 +01:00

gdbstub: fix threads with invalid characters for packets (closes #1904)

This commit is contained in:
Michael Scire 2022-06-16 00:11:44 -07:00
parent efa4a346af
commit 6514e365ad

View file

@ -2368,6 +2368,9 @@ namespace ams::dmnt {
*(cur++) = 'g';
*(cur++) = 't';
*(cur++) = ';';
} else if (name[i] == '*' || name[i] == '#' || name[i] == '$' || name[i] == '}') {
*(cur++) = '}';
*(cur++) = name[i] ^ 0x20;
} else {
*(cur++) = name[i];