service/apt: Implement soft reset & CloseApplication
This commit is contained in:
parent
ca701e2610
commit
ad6b140cb0
9 changed files with 160 additions and 12 deletions
|
@ -35,6 +35,12 @@ void EmuThread::run() {
|
|||
emit DebugModeLeft();
|
||||
|
||||
Core::System::ResultStatus result = Core::System::GetInstance().RunLoop();
|
||||
if (result == Core::System::ResultStatus::ShutdownRequested) {
|
||||
// Notify frontend we shutdown
|
||||
emit ErrorThrown(result, "");
|
||||
// End emulation execution
|
||||
break;
|
||||
}
|
||||
if (result != Core::System::ResultStatus::Success) {
|
||||
this->SetRunning(false);
|
||||
emit ErrorThrown(result, Core::System::GetInstance().GetStatusDetails());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue