mirror of https://github.com/mgba-emu/mgba.git
Feature: Clear thread proxy queue on reset (fixes #2080)
This commit is contained in:
parent
9ac9366257
commit
e62c24c588
|
@ -60,6 +60,7 @@ void mVideoThreadProxyReset(struct mVideoLogger* logger) {
|
|||
ConditionWake(&proxyRenderer->toThreadCond);
|
||||
ConditionWait(&proxyRenderer->fromThreadCond, &proxyRenderer->mutex);
|
||||
}
|
||||
RingFIFOClear(&proxyRenderer->dirtyQueue);
|
||||
MutexUnlock(&proxyRenderer->mutex);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue