Merge pull request #2300 from lioncash/update
Debugger: Update the registers/watches before refreshing grids.
This commit is contained in:
commit
70605cae5c
|
@ -262,8 +262,8 @@ CRegisterView::CRegisterView(wxWindow *parent, wxWindowID id)
|
|||
|
||||
void CRegisterView::Update()
|
||||
{
|
||||
ForceRefresh();
|
||||
m_register_table->UpdateCachedRegs();
|
||||
ForceRefresh();
|
||||
}
|
||||
|
||||
void CRegisterView::OnMouseDownR(wxGridEvent& event)
|
||||
|
|
|
@ -230,8 +230,8 @@ void CWatchView::Update()
|
|||
{
|
||||
if (PowerPC::GetState() != PowerPC::CPU_POWERDOWN)
|
||||
{
|
||||
ForceRefresh();
|
||||
m_watch_table->UpdateWatch();
|
||||
ForceRefresh();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue