Debugger: Correct delayed symbol listbox updates.

With the dialogs no longer created on start, this message wasn't coming
through.
This commit is contained in:
Unknown W. Brackets committed 2021-12-31 09:10:40 -08:00
1 parent 244b0a86f6
commit 85b7b221be
5 files changed
+33 -23

No files matched your search

+7 -1
View File
@@ -134,7 +134,9 @@ void CMemoryDlg::searchBoxRedraw(std::vector<u32> results) {
void CMemoryDlg::NotifyMapLoaded() {
if (m_hDlg && g_symbolMap)
g_symbolMap->FillSymbolListBox(symListHdl, ST_DATA);
Update();
else
mapLoadPending_ = true;
Update();
}
BOOL CMemoryDlg::DlgProc(UINT message, WPARAM wParam, LPARAM lParam) {
@@ -219,6 +221,10 @@ BOOL CMemoryDlg::DlgProc(UINT message, WPARAM wParam, LPARAM lParam) {
}
case WM_DEB_UPDATE:
if (mapLoadPending_ && m_hDlg && g_symbolMap) {
g_symbolMap->FillSymbolListBox(symListHdl, ST_DATA);
mapLoadPending_ = false;
}
Update();
return TRUE;