mirror of https://github.com/mgba-emu/mgba.git
Qt: Follow-up fix for regression
This commit is contained in:
parent
eb0b9dca0f
commit
3182b5e35d
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue