Fix undefined instruction dump report

This commit is contained in:
marcan 2009-03-06 01:32:56 +01:00 committed by bushing
parent 380c342890
commit f3f78fab9f

View File

@ -75,7 +75,7 @@ void exc_handler(u32 type, u32 spsr, u32 *regs)
switch (type) {
case 1: // undefined instruction
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));
pc, read32(pc-8), read32(pc-4), read32(pc), read32(pc+4), read32(pc+8));
break;
case 3: // INSTR ABORT
case 4: // DATA ABORT