System: Add InterruptExecution()

This commit is contained in:
Stenzek 2023-08-30 22:18:01 +10:00
parent 2915d4ce01
commit 5421900bb2
2 changed files with 7 additions and 0 deletions

View file

@ -345,6 +345,12 @@ void System::CancelPendingStartup()
s_startup_cancelled.store(true);
}
void System::InterruptExecution()
{
if (s_system_executing)
s_system_interrupted = true;
}
ConsoleRegion System::GetRegion()
{
return s_region;

View file

@ -146,6 +146,7 @@ bool IsExecuting();
bool IsStartupCancelled();
void CancelPendingStartup();
void InterruptExecution();
ConsoleRegion GetRegion();
DiscRegion GetDiscRegion();