all repos — mgba @ c856897b1e2e23cac72fe1d65912b2ac1caf5893

mGBA Game Boy Advance Emulator

Qt: Dismiss game crashing/failing dialogs when a new game loads
Vicki Pfau vi@endrift.com
Sat, 08 Jul 2017 17:24:49 -0700
commit

c856897b1e2e23cac72fe1d65912b2ac1caf5893

parent

fc2a0955f4031992f694662cbaf2f7185240417f

2 files changed, 3 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -178,6 +178,7 @@ - Qt: Minor test fixes

- PSP2: Update toolchain to use vita.cmake - Qt: Move shader settings into main settings window - GB Serialize: Add MBC state serialization + - Qt: Dismiss game crashing/failing dialogs when a new game loads 0.6 beta 1: (2017-06-29) - Initial beta for 0.6
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -824,6 +824,7 @@ 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(); + connect(m_controller, &GameController::gameStarted, crash, &QWidget::close); } void Window::gameFailed() {

@@ -832,6 +833,7 @@ tr("Could not load game. Are you sure it's in the correct format?"),

QMessageBox::Ok, this, Qt::Sheet); fail->setAttribute(Qt::WA_DeleteOnClose); fail->show(); + connect(m_controller, &GameController::gameStarted, fail, &QWidget::close); } void Window::unimplementedBiosCall(int call) {