Core: Don't return true on IsRunning() when stopping emulation.

This commit is contained in:
Jules Blok 2015-07-22 09:44:39 +02:00
parent 59eb7a864d
commit 0092f5207b
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,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()