Skip to content
Snippets Groups Projects
Commit 8b097aa1 authored by N00byKing's avatar N00byKing Committed by bunnei
Browse files

Implement Pull #3333 from citra: citra_qt: Pause emulation on CoreError (#39)

parent d8187918
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@ void EmuThread::run() {
Core::System::ResultStatus result = Core::System::GetInstance().RunLoop();
if (result != Core::System::ResultStatus::Success) {
this->SetRunning(false);
emit ErrorThrown(result, Core::System::GetInstance().GetStatusDetails());
}
......
......@@ -726,6 +726,7 @@ void GMainWindow::OnCoreError(Core::System::ResultStatus result, std::string det
} else {
// Only show the message if the game is still running.
if (emu_thread) {
emu_thread->SetRunning(true);
message_label->setText(status_message);
message_label->setVisible(true);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment