all repos — mgba @ 6097890251e63a79ae9c3b28524c454d4ac20b3c

mGBA Game Boy Advance Emulator

Print proper register
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 02:04:51 -0700
commit

6097890251e63a79ae9c3b28524c454d4ac20b3c

parent

688af6cdeee935f5b2d2df30b47da0e7bdf9c6a0

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/debugger.csrc/debugger.c

@@ -42,7 +42,7 @@ for (r = 0; r < 4; ++r) {

printf("%08X %08X %08X %08X\n", debugger->cpu->gprs[r << 2], debugger->cpu->gprs[(r << 2) + 1], - debugger->cpu->gprs[(r << 2) + 1], + debugger->cpu->gprs[(r << 2) + 2], debugger->cpu->gprs[(r << 2) + 3]); } _printPSR(debugger->cpu->cpsr);