Qt: Fix game unpausing after frame advancing and refocusing

This commit is contained in:
Vicki Pfau 2017-06-19 22:37:30 -07:00
parent 96c0d7c413
commit fb7715f6ac
2 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,7 @@ Bugfixes:
- GBA BIOS: Fix INT_MIN/-1 crash
- GBA Savedata: Update and fix Sharkport importing (fixes mgba.io/i/658)
- OpenGL: Fix some shaders causing offset graphics
- Qt: Fix game unpausing after frame advancing and refocusing
Misc:
- SDL: Remove scancode key input
- GBA Video: Clean up unused timers

View File

@ -697,6 +697,7 @@ void GameController::threadContinue() {
void GameController::frameAdvance() {
if (m_pauseAfterFrame.testAndSetRelaxed(false, true)) {
setPaused(false);
m_wasPaused = true;
}
}