Core/Core: Fix getting stuck when Stop is called without emulation running

This commit is contained in:
spycrab 2018-07-04 00:52:53 +02:00
parent 47c5a2f7ed
commit d8212fd927
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ static void ResetRumble()
// Called from GUI thread
void Stop() // - Hammertime!
{
if (GetState() == State::Stopping)
if (GetState() == State::Stopping || GetState() == State::Uninitialized)
return;
const SConfig& _CoreParameter = SConfig::GetInstance();