mirror of
https://github.com/libretro/mgba.git
synced 2024-11-27 02:00:42 +00:00
Qt: Don't unload ROM immediately if it crashes
This commit is contained in:
parent
6a5ce56f73
commit
08f10b2d73
1
CHANGES
1
CHANGES
@ -7,6 +7,7 @@ Misc:
|
||||
- GBA Savedata: EEPROM performance fixes
|
||||
- GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
|
||||
- GB Memory: Support running from blocked memory
|
||||
- Qt: Don't unload ROM immediately if it crashes
|
||||
|
||||
0.7.0: (Future)
|
||||
Features:
|
||||
|
@ -188,7 +188,6 @@ CoreController::CoreController(mCore* core, QObject* parent)
|
||||
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)));
|
||||
}
|
||||
};
|
||||
|
@ -802,7 +802,6 @@ void Window::gameCrashed(const QString& errorMessage) {
|
||||
QMessageBox::Ok, this, Qt::Sheet);
|
||||
crash->setAttribute(Qt::WA_DeleteOnClose);
|
||||
crash->show();
|
||||
m_controller->stop();
|
||||
}
|
||||
|
||||
void Window::gameFailed() {
|
||||
|
Loading…
Reference in New Issue
Block a user