Skip to content

Commit 6b82e15

Browse files
joevtdingusdev
authored andcommitted
Use ppc_state instead of get_reg.
Might be a speedup if stepping through a few million instructions.
1 parent d2aee8a commit 6b82e15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

debugger/debugger.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,7 @@ void DppcDebugger::enter_debugger() {
649649
delete_prompt();
650650
}
651651
for (; --count >= 0;) {
652+
addr = ppc_state.pc;
652653
ppc_exec_single();
653654
}
654655
}

0 commit comments

Comments
 (0)