Create a single instance of the debug windows and keep them

This commit is contained in:
Kingcom 2013-08-26 14:19:46 +02:00
parent e3d0e4bdfa
commit d6009d9e3d
4 changed files with 37 additions and 24 deletions

View file

@ -855,4 +855,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));
}