Debugger: Update the registers/watches before refreshing grids.

This commit is contained in:
Lioncash 2015-04-15 00:11:57 -04:00
parent 7506c386cf
commit 2cddb8f480
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();
}
}