mirror of https://github.com/PCSX2/pcsx2.git
Debugger: Tighten valid vmstate for the cpu interface
This commit is contained in:
parent
cd4de28b9e
commit
a08d8b3add
|
@ -218,7 +218,8 @@ bool DebugInterface::m_pause_on_entry = false;
|
|||
|
||||
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()
|
||||
|
|
Loading…
Reference in New Issue