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