mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Repositioned current instruction to middle
As soon as I tried the debugger, i wanted to move it to the middle almost instantly. Checked the code and found it sitting right here but commented out. Why? This is awesome.
This commit is contained in:
parent
0741698f13
commit
09a0d046f4
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ u32 debugger_frame::GetPc() const
|
|||
|
||||
u32 debugger_frame::CentrePc(u32 pc) const
|
||||
{
|
||||
return pc/* - ((m_item_count / 2) * 4)*/;
|
||||
return pc - ((m_list->m_item_count / 2) * 4);
|
||||
}
|
||||
|
||||
void debugger_frame::UpdateUI()
|
||||
|
|
Loading…
Add table
Reference in a new issue