Qt: Follow-up fix for regression

This commit is contained in:
Jeffrey Pfau 2015-04-07 00:51:07 -07:00
parent 2f1937f953
commit 99ae62695e
1 changed files with 3 additions and 0 deletions

View File

@ -520,6 +520,9 @@ void GameController::setAVStream(GBAAVStream* stream) {
void GameController::clearAVStream() {
threadInterrupt();
m_threadContext.stream = nullptr;
if (m_gameOpen) {
m_threadContext.gba->stream = nullptr;
}
threadContinue();
}