mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-26 02:38:29 -05:00
Added system for handling core errors in citra-qt.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user