diff options
| author | 2017-03-08 16:28:30 -0500 | |
|---|---|---|
| committer | 2017-06-02 18:27:56 -0400 | |
| commit | 1ecb322daa0e2521fe0e179e87889db9aaaf63b0 (patch) | |
| tree | 6f8cc571b41a76c7ab93843472809bfc9121abb7 /src/citra_qt/bootmanager.cpp | |
| parent | Fixed encrypted ROM error messages. (diff) | |
| download | yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar.gz yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar.xz yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.zip | |
Added system for handling core errors in citra-qt.
Diffstat (limited to 'src/citra_qt/bootmanager.cpp')
| -rw-r--r-- | src/citra_qt/bootmanager.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index 06b62f44c..16661767f 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp | |||
| @@ -37,7 +37,11 @@ void EmuThread::run() { | |||
| 37 | if (!was_active) | 37 | if (!was_active) |
| 38 | emit DebugModeLeft(); | 38 | emit DebugModeLeft(); |
| 39 | 39 | ||
| 40 | Core::System::GetInstance().RunLoop(); | 40 | Core::System::ResultStatus result = Core::System::GetInstance().RunLoop(); |
| 41 | if (result != Core::System::ResultStatus::Success) { | ||
| 42 | emit ErrorThrown(result); | ||
| 43 | break; | ||
| 44 | } | ||
| 41 | 45 | ||
| 42 | was_active = running || exec_step; | 46 | was_active = running || exec_step; |
| 43 | if (!was_active && !stop_run) | 47 | if (!was_active && !stop_run) |