mirror of https://github.com/RPCS3/rpcs3.git
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
|
@ -194,7 +194,7 @@ u32 debugger_frame::GetPc() const
|
||||||
|
|
||||||
u32 debugger_frame::CentrePc(u32 pc) 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()
|
void debugger_frame::UpdateUI()
|
||||||
|
|
Loading…
Reference in New Issue