mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-28 06:04:19 +01:00
fix exception handler again, as per marcan
This commit is contained in:
parent
ddc707fceb
commit
8e35b4150e
@ -74,8 +74,8 @@ void exc_handler(u32 type, u32 spsr, u32 *regs)
|
||||
|
||||
switch (type) {
|
||||
case 1: // undefined instruction
|
||||
gecko_printf("Undefined instruction @ %08x: %08x\n", regs[14]-4, read32(regs[14]-4));
|
||||
return;
|
||||
gecko_printf("Undefined instruction @ %08x:\n%08x %08x *%08x* %08x %08x\n",
|
||||
pc, read32(pc-8), read32(pc-4), read32(pc), read32(pc), read32(pc+8));
|
||||
break;
|
||||
case 3: // INSTR ABORT
|
||||
case 4: // DATA ABORT
|
||||
|
Loading…
Reference in New Issue
Block a user