Add displaying title IDs for ARM11 exceptions
This commit is contained in:
parent
c5369a5cad
commit
e151b3d4ef
@ -155,8 +155,14 @@ void detectAndProcessExceptionDumps(void)
|
|||||||
|
|
||||||
if(dumpHeader->processor == 11 && dumpHeader->additionalDataSize != 0)
|
if(dumpHeader->processor == 11 && dumpHeader->additionalDataSize != 0)
|
||||||
{
|
{
|
||||||
char processName[] = "Current process: ";
|
char processName[45] = "Current process: ";
|
||||||
memcpy(processName + sizeof(processName) - 9, (void *)additionalData, 8);
|
memcpy(processName + 17, (void *)additionalData, 8);
|
||||||
|
hexItoa(*((u32 *)additionalData + 3), hexString, 8, true);
|
||||||
|
concatenateStrings(processName, " (");
|
||||||
|
concatenateStrings(processName, hexString);
|
||||||
|
hexItoa(*((u32 *)additionalData + 2), hexString, 8, true);
|
||||||
|
concatenateStrings(processName, hexString);
|
||||||
|
concatenateStrings(processName, ")");
|
||||||
posY = drawString(processName, true, 10, posY + SPACING_Y, COLOR_WHITE);
|
posY = drawString(processName, true, 10, posY + SPACING_Y, COLOR_WHITE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user