mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Qt/debugger: Don't update the symbols list unnecessarily
It only needs to be updated when we changes the symbols, not every time the code widget updates and it does take a while to update them so this fixes some delay when updating the code window.
This commit is contained in:
@ -1020,13 +1020,13 @@ void MenuBar::ClearSymbols()
|
||||
return;
|
||||
|
||||
g_symbolDB.Clear();
|
||||
Host_NotifyMapLoaded();
|
||||
emit NotifySymbolsUpdated();
|
||||
}
|
||||
|
||||
void MenuBar::GenerateSymbolsFromAddress()
|
||||
{
|
||||
PPCAnalyst::FindFunctions(0x80000000, 0x81800000, &g_symbolDB);
|
||||
Host_NotifyMapLoaded();
|
||||
emit NotifySymbolsUpdated();
|
||||
}
|
||||
|
||||
void MenuBar::GenerateSymbolsFromSignatureDB()
|
||||
@ -1048,7 +1048,7 @@ void MenuBar::GenerateSymbolsFromSignatureDB()
|
||||
tr("'%1' not found, no symbol names generated").arg(QString::fromStdString(TOTALDB)));
|
||||
}
|
||||
|
||||
Host_NotifyMapLoaded();
|
||||
emit NotifySymbolsUpdated();
|
||||
}
|
||||
|
||||
void MenuBar::GenerateSymbolsFromRSO()
|
||||
@ -1067,7 +1067,7 @@ void MenuBar::GenerateSymbolsFromRSO()
|
||||
if (rso_chain.Load(static_cast<u32>(address)))
|
||||
{
|
||||
rso_chain.Apply(&g_symbolDB);
|
||||
Host_NotifyMapLoaded();
|
||||
emit NotifySymbolsUpdated();
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1101,7 +1101,7 @@ void MenuBar::LoadSymbolMap()
|
||||
}
|
||||
|
||||
HLE::PatchFunctions();
|
||||
Host_NotifyMapLoaded();
|
||||
emit NotifySymbolsUpdated();
|
||||
}
|
||||
|
||||
void MenuBar::SaveSymbolMap()
|
||||
@ -1123,7 +1123,7 @@ void MenuBar::LoadOtherSymbolMap()
|
||||
|
||||
g_symbolDB.LoadMap(file.toStdString());
|
||||
HLE::PatchFunctions();
|
||||
Host_NotifyMapLoaded();
|
||||
emit NotifySymbolsUpdated();
|
||||
}
|
||||
|
||||
void MenuBar::SaveSymbolMapAs()
|
||||
|
Reference in New Issue
Block a user