Qt: Fix game unpausing after frame advancing and refocusing
Vicki Pfau vi@endrift.com
Mon, 19 Jun 2017 22:37:30 -0700
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -71,6 +71,7 @@ - GB Video: Reset renderer when loading state
- 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
M
src/platform/qt/GameController.cpp
→
src/platform/qt/GameController.cpp
@@ -697,6 +697,7 @@
void GameController::frameAdvance() { if (m_pauseAfterFrame.testAndSetRelaxed(false, true)) { setPaused(false); + m_wasPaused = true; } }