Qt/debugger: properly update when we load the symbols on boot

This host event is still useful because the emu thread will load the symbols on boot if required.
This commit is contained in:
aldelaro5
2018-05-16 21:43:18 -04:00
parent 5b96abf7aa
commit 65d2a6c590
3 changed files with 14 additions and 3 deletions

View File

@ -121,6 +121,16 @@ void Host_UpdateProgressDialog(const char* caption, int position, int total)
emit Host::GetInstance()->UpdateProgressDialog(QString::fromUtf8(caption), position, total);
}
void Host::RequestNotifyMapLoaded()
{
QueueOnObject(QApplication::instance(), [this] { emit NotifyMapLoaded(); });
}
void Host_NotifyMapLoaded()
{
Host::GetInstance()->RequestNotifyMapLoaded();
}
// We ignore these, and their purpose should be questioned individually.
// In particular, RequestRenderWindowSize, RequestFullscreen, and
// UpdateMainFrame should almost certainly be removed.
@ -137,9 +147,6 @@ bool Host_UINeedsControllerState()
{
return Settings::Instance().IsControllerStateNeeded();
}
void Host_NotifyMapLoaded()
{
}
void Host_ShowVideoConfig(void* parent, const std::string& backend_name)
{
}