Merge pull request #3420 from Kingcom/Debug

Don't recreate debug windows
This commit is contained in:
Henrik Rydgård committed 2013-08-27 01:48:01 -07:00
commit 87c1dc3dd9
4 files changed
+37 -24

No files matched your search

+5
View File
@@ -857,4 +857,9 @@ void CDisasm::UpdateDialog(bool _bComplete)
for (int i=0; i<numCPUs; i++)
if (memoryWindow[i])
memoryWindow[i]->Update();
// repaint windows at the bottom. only the memory view needs to be forced to
// redraw. all others are updated manually
InvalidateRect (GetDlgItem(m_hDlg, IDC_DEBUGMEMVIEW), NULL, TRUE);
UpdateWindow (GetDlgItem(m_hDlg, IDC_DEBUGMEMVIEW));
}