Call Host_NotifyMapLoaded when clearing g_symbolDB

Otherwise DolphinQt will have a stale symbol list and
you can get nullptr dereferences when trying to use it.
This commit is contained in:
JosJuice
2019-05-01 17:32:45 +02:00
parent d9999f406b
commit 8fd6f8f6e9
5 changed files with 24 additions and 3 deletions

View File

@ -42,6 +42,11 @@ void SymbolDB::List()
INFO_LOG(OSHLE, "%zu functions known in this program above.", m_functions.size());
}
bool SymbolDB::IsEmpty() const
{
return m_functions.empty();
}
void SymbolDB::Clear(const char* prefix)
{
// TODO: honor prefix