mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-09 13:41:43 +00:00
gdbstub: fix threads with invalid characters for packets (closes #1904)
This commit is contained in:
parent
efa4a346af
commit
6514e365ad
1 changed files with 3 additions and 0 deletions
|
@ -2368,6 +2368,9 @@ namespace ams::dmnt {
|
||||||
*(cur++) = 'g';
|
*(cur++) = 'g';
|
||||||
*(cur++) = 't';
|
*(cur++) = 't';
|
||||||
*(cur++) = ';';
|
*(cur++) = ';';
|
||||||
|
} else if (name[i] == '*' || name[i] == '#' || name[i] == '$' || name[i] == '}') {
|
||||||
|
*(cur++) = '}';
|
||||||
|
*(cur++) = name[i] ^ 0x20;
|
||||||
} else {
|
} else {
|
||||||
*(cur++) = name[i];
|
*(cur++) = name[i];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue