Merge pull request #8064 from JosJuice/notify-host-symbols-clear

Call Host_NotifyMapLoaded when clearing g_symbolDB
This commit is contained in:
Léo Lam
2019-05-03 11:47:26 +02:00
committed by GitHub
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

View File

@ -78,6 +78,7 @@ public:
const XFuncMap& Symbols() const { return m_functions; }
XFuncMap& AccessSymbols() { return m_functions; }
bool IsEmpty() const;
void Clear(const char* prefix = "");
void List();
void Index();