mirror of https://github.com/mgba-emu/mgba.git
Qt: Better cleanup when a game crashes
This commit is contained in:
parent
178b2f85ee
commit
57e84f0c69
1
CHANGES
1
CHANGES
|
@ -25,6 +25,7 @@ Bugfixes:
|
||||||
- Video: Fix an issue with very long filenames
|
- Video: Fix an issue with very long filenames
|
||||||
- GBA Video: Blended sprites should never have other effects applied
|
- GBA Video: Blended sprites should never have other effects applied
|
||||||
- GBA: Fix crash if a 512kb flash save is loaded when a game has a 1Mb flash override
|
- GBA: Fix crash if a 512kb flash save is loaded when a game has a 1Mb flash override
|
||||||
|
- Qt: Better cleanup when a game crashes
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Handle saving input settings better
|
- Qt: Handle saving input settings better
|
||||||
- Debugger: Free watchpoints in addition to breakpoints
|
- Debugger: Free watchpoints in addition to breakpoints
|
||||||
|
|
|
@ -366,6 +366,7 @@ void GameController::closeGame() {
|
||||||
void GameController::crashGame(const QString& crashMessage) {
|
void GameController::crashGame(const QString& crashMessage) {
|
||||||
closeGame();
|
closeGame();
|
||||||
emit gameCrashed(crashMessage);
|
emit gameCrashed(crashMessage);
|
||||||
|
emit gameStopped(&m_threadContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GameController::isPaused() {
|
bool GameController::isPaused() {
|
||||||
|
|
Loading…
Reference in New Issue