Minor stuff

This commit is contained in:
Aurora Wright 2017-04-27 22:32:46 +02:00
parent b10d82a883
commit c7e7dd8248

View File

@ -157,10 +157,10 @@ void detectAndProcessExceptionDumps(void)
{ {
char processName[45] = "Current process: "; char processName[45] = "Current process: ";
memcpy(processName + 17, (void *)additionalData, 8); memcpy(processName + 17, (void *)additionalData, 8);
hexItoa(*((u32 *)additionalData + 3), hexString, 8, true); hexItoa(*(vu32 *)(additionalData + 12), hexString, 8, true);
concatenateStrings(processName, " ("); concatenateStrings(processName, " (");
concatenateStrings(processName, hexString); concatenateStrings(processName, hexString);
hexItoa(*((u32 *)additionalData + 2), hexString, 8, true); hexItoa(*(vu32 *)(additionalData + 8), hexString, 8, true);
concatenateStrings(processName, hexString); concatenateStrings(processName, hexString);
concatenateStrings(processName, ")"); concatenateStrings(processName, ")");
posY = drawString(processName, true, 10, posY + SPACING_Y, COLOR_WHITE); posY = drawString(processName, true, 10, posY + SPACING_Y, COLOR_WHITE);