Qt: Better cleanup when a game crashes

This commit is contained in:
Jeffrey Pfau 2015-05-17 15:06:35 -07:00
parent 178b2f85ee
commit 57e84f0c69
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ Bugfixes:
- Video: Fix an issue with very long filenames
- 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
- Qt: Better cleanup when a game crashes
Misc:
- Qt: Handle saving input settings better
- Debugger: Free watchpoints in addition to breakpoints

View File

@ -366,6 +366,7 @@ void GameController::closeGame() {
void GameController::crashGame(const QString& crashMessage) {
closeGame();
emit gameCrashed(crashMessage);
emit gameStopped(&m_threadContext);
}
bool GameController::isPaused() {