mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 15:15:40 +00:00
System: Add InterruptExecution()
This commit is contained in:
parent
2915d4ce01
commit
5421900bb2
|
@ -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;
|
||||
|
|
|
@ -146,6 +146,7 @@ bool IsExecuting();
|
|||
|
||||
bool IsStartupCancelled();
|
||||
void CancelPendingStartup();
|
||||
void InterruptExecution();
|
||||
|
||||
ConsoleRegion GetRegion();
|
||||
DiscRegion GetDiscRegion();
|
||||
|
|
Loading…
Reference in a new issue