mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user