mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Core: Don't return true on IsRunning() when stopping emulation.
This commit is contained in:
parent
59eb7a864d
commit
0092f5207b
@ -163,7 +163,7 @@ void DisplayMessage(const std::string& message, int time_in_ms)
|
|||||||
|
|
||||||
bool IsRunning()
|
bool IsRunning()
|
||||||
{
|
{
|
||||||
return (GetState() != CORE_UNINITIALIZED) || s_hardware_initialized;
|
return (GetState() != CORE_UNINITIALIZED || s_hardware_initialized) && !s_is_stopping;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsRunningAndStarted()
|
bool IsRunningAndStarted()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user