Skip to content

Commit

Permalink
Migliorata la traduzione di exceptions.c
Browse files Browse the repository at this point in the history
Signed-off-by: Simo <[email protected]>
  • Loading branch information
Simo3ds authored Mar 14, 2024
1 parent 2ed57e8 commit 27aacad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arm9/source/exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ void detectAndProcessExceptionDumps(void)
const vu8 *additionalData = stackDump + dumpHeader->stackDumpSize;

static const char *handledExceptionNames[] = {
"FIQ", "Istruzioni indefinite", "aborto prefetch", "aborto dati"
"FIQ", "Istruzioni indefinite", "Aborto Prefetch", "Aborto Dati"
},
*specialExceptions[] = {
"panico del kernel", "svcBreak"
"panico kernel", "svcBreak"
},
*registerNames[] = {
"R0", "R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9", "R10", "R11", "R12",
Expand All @@ -85,10 +85,10 @@ void detectAndProcessExceptionDumps(void)

initScreens();

drawString(true, 10, 10, COLOR_RED, "E' accaduta un' eccezione inaspettata");
drawString(true, 10, 10, COLOR_RED, "Si è verificato un errore");
u32 posY;
if(dumpHeader->processor == 11) posY = drawFormattedString(true, 10, 30, COLOR_WHITE, "Processore: Arm11 (core %u)", dumpHeader->core);
else posY = drawString(true, 10, 30, COLOR_WHITE, "Processore: Arm9");
else posY = drawString(true, 10, 30, COLOR_WHITE, "Processore: Arm9");

if(dumpHeader->type == 2)
{
Expand Down

0 comments on commit 27aacad

Please sign in to comment.