mirror of https://github.com/mgba-emu/mgba.git
Qt: Dismiss game crashing/failing dialogs when a new game loads
This commit is contained in:
parent
fc2a0955f4
commit
c856897b1e
1
CHANGES
1
CHANGES
|
@ -178,6 +178,7 @@ Misc:
|
|||
- 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
|
||||
|
|
|
@ -824,6 +824,7 @@ void Window::gameCrashed(const QString& 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 @@ void Window::gameFailed() {
|
|||
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) {
|
||||
|
|
Loading…
Reference in New Issue