mirror of https://github.com/mgba-emu/mgba.git
Print proper register
This commit is contained in:
parent
688af6cdee
commit
6097890251
|
@ -42,7 +42,7 @@ static void _printStatus(struct ARMDebugger* debugger) {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue