mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 09:59:32 -06:00
Core: Don't return true on IsRunning() when stopping emulation.
This commit is contained in:
@ -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()
|
||||||
|
Reference in New Issue
Block a user