1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-22 20:06:40 +00:00

dmnt.gen2: fix gt, optimize

This commit is contained in:
Michael Scire 2022-06-08 00:49:47 -07:00
parent 20d200471d
commit 4e112de223

View file

@ -2365,18 +2365,18 @@ namespace ams::dmnt {
*(cur++) = ';';
} else if (name[i] == '>') {
*(cur++) = '&';
*(cur++) = 'r';
*(cur++) = 'g';
*(cur++) = 't';
*(cur++) = ';';
} else {
*(cur++) = name[i];
}
if (name[i] == '\x00') {
break;
}
}
}
}
/* Set the thread entry */
AppendReplyFormat(dst_cur, dst_end, "<thread id=\"p%lx.%lx\" core=\"%u\" name=\"%s\" />", m_process_id.value, thread_ids[i], core, sanitized);