Qt: Fix regression where video would not record if the game had already started

This commit is contained in:
Jeffrey Pfau 2015-04-06 22:18:57 -07:00
parent 3449c5cb3b
commit eb0b9dca0f
2 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,7 @@ Bugfixes:
- GBA Audio: Force audio FIFOs to 32-bit - GBA Audio: Force audio FIFOs to 32-bit
- GBA Memory: Ensure changing the timing of a DMA reschedules it - GBA Memory: Ensure changing the timing of a DMA reschedules it
- Qt: Fix window not regaining focus after exiting savestate window - 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) 0.2.0: (2015-04-03)
Features: Features:

View File

@ -511,6 +511,9 @@ void GameController::setTurbo(bool set, bool forced) {
void GameController::setAVStream(GBAAVStream* stream) { void GameController::setAVStream(GBAAVStream* stream) {
threadInterrupt(); threadInterrupt();
m_threadContext.stream = stream; m_threadContext.stream = stream;
if (m_gameOpen) {
m_threadContext.gba->stream = stream;
}
threadContinue(); threadContinue();
} }