Added system for handling core errors in citra-qt.
This commit is contained in:
parent
e523c76cc8
commit
1ecb322daa
9 changed files with 121 additions and 26 deletions
|
@ -37,7 +37,11 @@ void EmuThread::run() {
|
|||
if (!was_active)
|
||||
emit DebugModeLeft();
|
||||
|
||||
Core::System::GetInstance().RunLoop();
|
||||
Core::System::ResultStatus result = Core::System::GetInstance().RunLoop();
|
||||
if (result != Core::System::ResultStatus::Success) {
|
||||
emit ErrorThrown(result);
|
||||
break;
|
||||
}
|
||||
|
||||
was_active = running || exec_step;
|
||||
if (!was_active && !stop_run)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue