Moved when to pause because it wasnt fast enough
This commit is contained in:
parent
bbe6c8890c
commit
f17600db1a
2 changed files with 1 additions and 1 deletions
|
@ -36,6 +36,7 @@ void EmuThread::run() {
|
||||||
|
|
||||||
Core::System::ResultStatus result = Core::System::GetInstance().RunLoop();
|
Core::System::ResultStatus result = Core::System::GetInstance().RunLoop();
|
||||||
if (result != Core::System::ResultStatus::Success) {
|
if (result != Core::System::ResultStatus::Success) {
|
||||||
|
this->SetRunning(false);
|
||||||
emit ErrorThrown(result, Core::System::GetInstance().GetStatusDetails());
|
emit ErrorThrown(result, Core::System::GetInstance().GetStatusDetails());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -918,7 +918,6 @@ void GMainWindow::UpdateStatusBar() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void GMainWindow::OnCoreError(Core::System::ResultStatus result, std::string details) {
|
void GMainWindow::OnCoreError(Core::System::ResultStatus result, std::string details) {
|
||||||
emu_thread->SetRunning(false);
|
|
||||||
QMessageBox::StandardButton answer;
|
QMessageBox::StandardButton answer;
|
||||||
QString status_message;
|
QString status_message;
|
||||||
const QString common_message =
|
const QString common_message =
|
||||||
|
|
Loading…
Reference in a new issue