mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-24 20:26:55 +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) {
|
switch (type) {
|
||||||
case 1: // undefined instruction
|
case 1: // undefined instruction
|
||||||
gecko_printf("Undefined instruction @ %08x: %08x\n", regs[14]-4, read32(regs[14]-4));
|
gecko_printf("Undefined instruction @ %08x:\n%08x %08x *%08x* %08x %08x\n",
|
||||||
return;
|
pc, read32(pc-8), read32(pc-4), read32(pc), read32(pc), read32(pc+8));
|
||||||
break;
|
break;
|
||||||
case 3: // INSTR ABORT
|
case 3: // INSTR ABORT
|
||||||
case 4: // DATA ABORT
|
case 4: // DATA ABORT
|
||||||
|
Loading…
Reference in New Issue
Block a user