mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Debugger: Fix and use centered PC by default
* Fix instruction-selection dependent functionality. * Remove odd instruction position jumps in add/remove breakpoint. * Make PC fixate at 1/3 of the frame because knowing future instructions is more important than knowing the previous.
This commit is contained in:
parent
7bb2d94e53
commit
d30ac20fad
5 changed files with 92 additions and 58 deletions
|
|
@ -68,8 +68,6 @@ void breakpoint_list::RemoveBreakpoint(u32 addr)
|
|||
}
|
||||
}
|
||||
|
||||
Q_EMIT RequestShowAddress(addr);
|
||||
|
||||
if (!count())
|
||||
{
|
||||
hide();
|
||||
|
|
@ -94,8 +92,6 @@ bool breakpoint_list::AddBreakpoint(u32 pc)
|
|||
breakpoint_item->setData(Qt::UserRole, pc);
|
||||
addItem(breakpoint_item);
|
||||
|
||||
Q_EMIT RequestShowAddress(pc);
|
||||
|
||||
show();
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue