mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Core: Don't return true on IsRunning() when stopping emulation.
This commit is contained in:
parent
b6c4d5792b
commit
5535c5c54c
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ void DisplayMessage(const std::string& message, int time_in_ms)
|
|||
|
||||
bool IsRunning()
|
||||
{
|
||||
return (GetState() != CORE_UNINITIALIZED) || s_hardware_initialized;
|
||||
return (GetState() != CORE_UNINITIALIZED || s_hardware_initialized) && !s_is_stopping;
|
||||
}
|
||||
|
||||
bool IsRunningAndStarted()
|
||||
|
|
Loading…
Add table
Reference in a new issue