Core/Core: Fix getting stuck when Stop is called without emulation running
This commit is contained in:
parent
47c5a2f7ed
commit
d8212fd927
|
@ -237,7 +237,7 @@ static void ResetRumble()
|
||||||
// Called from GUI thread
|
// Called from GUI thread
|
||||||
void Stop() // - Hammertime!
|
void Stop() // - Hammertime!
|
||||||
{
|
{
|
||||||
if (GetState() == State::Stopping)
|
if (GetState() == State::Stopping || GetState() == State::Uninitialized)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const SConfig& _CoreParameter = SConfig::GetInstance();
|
const SConfig& _CoreParameter = SConfig::GetInstance();
|
||||||
|
|
Loading…
Reference in New Issue