CPU: Fix crash on breakpoint add/trace enable

This commit is contained in:
Stenzek
2023-08-29 17:17:57 +10:00
parent 720b5c1e9d
commit 92b1c21b8a
3 changed files with 9 additions and 1 deletions

View File

@ -337,6 +337,12 @@ bool System::IsValid()
return s_state == State::Running || s_state == State::Paused;
}
bool System::IsExecuting()
{
DebugAssert(IsValid());
return s_system_executing;
}
bool System::IsStartupCancelled()
{
return s_startup_cancelled.load();