all repos — mgba @ fb7715f6ac8e3e31869ceeef92ab9dd2ae7546b4

mGBA Game Boy Advance Emulator

Qt: Fix game unpausing after frame advancing and refocusing
Vicki Pfau vi@endrift.com
Mon, 19 Jun 2017 22:37:30 -0700
commit

fb7715f6ac8e3e31869ceeef92ab9dd2ae7546b4

parent

96c0d7c413e4e5c8d540e255fcb695f415eaeb52

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.cppsrc/platform/qt/GameController.cpp

@@ -697,6 +697,7 @@

void GameController::frameAdvance() { if (m_pauseAfterFrame.testAndSetRelaxed(false, true)) { setPaused(false); + m_wasPaused = true; } }