Qt: Don't unload ROM immediately if it crashes
Vicki Pfau vi@endrift.com
Sat, 12 Jan 2019 16:40:27 -0800
3 files changed,
1 insertions(+),
2 deletions(-)
M
src/platform/qt/CoreController.cpp
→
src/platform/qt/CoreController.cpp
@@ -188,7 +188,6 @@ }
message = QString().vsprintf(format, args); QMetaObject::invokeMethod(controller, "logPosted", Q_ARG(int, level), Q_ARG(int, category), Q_ARG(const QString&, message)); if (level == mLOG_FATAL) { - mCoreThreadMarkCrashed(controller->thread()); QMetaObject::invokeMethod(controller, "crashed", Q_ARG(const QString&, QString().vsprintf(format, args))); } };
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -802,7 +802,6 @@ tr("The game has crashed with the following error:\n\n%1").arg(errorMessage),
QMessageBox::Ok, this, Qt::Sheet); crash->setAttribute(Qt::WA_DeleteOnClose); crash->show(); - m_controller->stop(); } void Window::gameFailed() {