mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-19 13:32:41 +00: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