all repos — mgba @ d7151e381d935455d8000dcec9db3491d6c6e7f0

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

d7151e381d935455d8000dcec9db3491d6c6e7f0

parent

150272083bf0b2d2d077c36928f887bfd2b7aa83

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

jump to
M CHANGESCHANGES

@@ -174,6 +174,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) {