Qt: Follow-up fix for regression

This commit is contained in:
Jeffrey Pfau 2015-04-07 00:51:07 -07:00
parent eb0b9dca0f
commit 3182b5e35d
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();
}