mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00: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:
parent
d9999f406b
commit
8fd6f8f6e9
5 changed files with 24 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue