From c7e7dd8248aeaccf981aab103e846694175180a0 Mon Sep 17 00:00:00 2001 From: Aurora Wright Date: Thu, 27 Apr 2017 22:32:46 +0200 Subject: [PATCH] Minor stuff --- source/exceptions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/exceptions.c b/source/exceptions.c index 013897b..5a9b3ad 100644 --- a/source/exceptions.c +++ b/source/exceptions.c @@ -157,10 +157,10 @@ void detectAndProcessExceptionDumps(void) { char processName[45] = "Current process: "; memcpy(processName + 17, (void *)additionalData, 8); - hexItoa(*((u32 *)additionalData + 3), hexString, 8, true); + hexItoa(*(vu32 *)(additionalData + 12), hexString, 8, true); concatenateStrings(processName, " ("); concatenateStrings(processName, hexString); - hexItoa(*((u32 *)additionalData + 2), hexString, 8, true); + hexItoa(*(vu32 *)(additionalData + 8), hexString, 8, true); concatenateStrings(processName, hexString); concatenateStrings(processName, ")"); posY = drawString(processName, true, 10, posY + SPACING_Y, COLOR_WHITE);