Compare commits

...

2 Commits

Author SHA1 Message Date
Ty 254cca83cc
Merge a08d8b3add into 0a0f99dd1b 2024-09-18 10:27:49 -07:00
Ty Lamontagne a08d8b3add
Debugger: Tighten valid vmstate for the cpu interface 2024-07-19 20:56:15 -04:00
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()