CommonHostInterface: Fix crash on shutdown when using save state selector

This commit is contained in:
Connor McLaughlin
2020-09-06 21:03:27 +10:00
parent e731c87757
commit 9bb278b166
3 changed files with 7 additions and 9 deletions

View File

@ -48,7 +48,11 @@ bool HostInterface::Initialize()
return true;
}
void HostInterface::Shutdown() {}
void HostInterface::Shutdown()
{
if (!System::IsShutdown())
System::Shutdown();
}
void HostInterface::CreateAudioStream()
{