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:
MRG95 2017-10-21 23:57:35 -04:00 committed by kd-11
parent 0741698f13
commit 09a0d046f4
1 changed files with 1 additions and 1 deletions

View File

@ -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()