From f3f78fab9f00ab0bc8cb687124cb23725f8f5135 Mon Sep 17 00:00:00 2001 From: marcan Date: Fri, 6 Mar 2009 01:32:56 +0100 Subject: [PATCH] Fix undefined instruction dump report --- exception.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exception.c b/exception.c index a357287..cbd7c93 100644 --- a/exception.c +++ b/exception.c @@ -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