Compare commits

...

3 Commits

Author SHA1 Message Date
N00byKing
8d9946f241 im dumb 2018-01-16 17:28:43 +01:00
N00byKing
1f07011ad3 Update main.cpp 2018-01-16 16:59:33 +01:00
N00byKing
39c70d68cf Update bootmanager.cpp 2018-01-16 16:56:07 +01:00
2 changed files with 2 additions and 0 deletions

View File

@@ -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());
}

View File

@@ -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);
}