This commit is contained in:
Ty 2024-09-19 03:42:40 +03:00 committed by GitHub
commit 3580ad67b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -265,7 +265,8 @@ bool DebugInterface::m_pause_on_entry = false;
bool DebugInterface::isAlive() bool DebugInterface::isAlive()
{ {
return VMManager::HasValidVM() && g_FrameCount > 0; const VMState state = VMManager::GetState();
return (state == VMState::Running || state == VMState::Paused) && g_FrameCount > 0;
} }
bool DebugInterface::isCpuPaused() bool DebugInterface::isCpuPaused()