From eb0b9dca0f3b7b46ad82efac3155fb86d2ae26a4 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 d899fb096..9bcdc3106 100644 --- a/CHANGES +++ b/CHANGES @@ -14,6 +14,7 @@ Bugfixes: - GBA Audio: Force audio FIFOs to 32-bit - 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 4f63ecd8f..ba82aeee2 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(); }