From 2f1937f953af4d6986d00a2fa48ebf7f91408cdf Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Mon, 6 Apr 2015 22:18:57 -0700 Subject: [PATCH] Qt: Fix regression where video would not record if the game had already started --- CHANGES | 1 + src/platform/qt/GameController.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGES b/CHANGES index b04e773bf..ed2224dc5 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,7 @@ Bugfixes: - Qt: Fix "QOpenGLContext::swapBuffers() called with non-exposed window" warning - GBA Memory: Ensure changing the timing of a DMA reschedules it - Qt: Fix window not regaining focus after exiting savestate window + - Qt: Fix regression where video would not record if the game had already started 0.2.0: (2015-04-03) Features: diff --git a/src/platform/qt/GameController.cpp b/src/platform/qt/GameController.cpp index e2905f65e..0b471c37a 100644 --- a/src/platform/qt/GameController.cpp +++ b/src/platform/qt/GameController.cpp @@ -511,6 +511,9 @@ void GameController::setTurbo(bool set, bool forced) { void GameController::setAVStream(GBAAVStream* stream) { threadInterrupt(); m_threadContext.stream = stream; + if (m_gameOpen) { + m_threadContext.gba->stream = stream; + } threadContinue(); }