mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Merge pull request #9623 from Techjar/pauseandlock-fix
Core: Fix PauseAndLock segfaulting under certain circumstances
This commit is contained in:
commit
ac250f7c20
@ -750,7 +750,7 @@ void RequestRefreshInfo()
|
||||
static bool PauseAndLock(bool do_lock, bool unpause_on_unlock)
|
||||
{
|
||||
// WARNING: PauseAndLock is not fully threadsafe so is only valid on the Host Thread
|
||||
if (!IsRunning())
|
||||
if (!IsRunningAndStarted())
|
||||
return true;
|
||||
|
||||
bool was_unpaused = true;
|
||||
|
Loading…
Reference in New Issue
Block a user