Merge pull request #2300 from lioncash/update

Debugger: Update the registers/watches before refreshing grids.
This commit is contained in:
skidau 2015-04-16 12:30:24 +10:00
commit 70605cae5c
2 changed files with 2 additions and 2 deletions

View File

@ -262,8 +262,8 @@ CRegisterView::CRegisterView(wxWindow *parent, wxWindowID id)
void CRegisterView::Update()
{
ForceRefresh();
m_register_table->UpdateCachedRegs();
ForceRefresh();
}
void CRegisterView::OnMouseDownR(wxGridEvent& event)

View File

@ -230,8 +230,8 @@ void CWatchView::Update()
{
if (PowerPC::GetState() != PowerPC::CPU_POWERDOWN)
{
ForceRefresh();
m_watch_table->UpdateWatch();
ForceRefresh();
}
}