Disable drawing while the thread is shutting down
Jeffrey Pfau jeffrey@endrift.com
Sat, 18 Oct 2014 04:10:34 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-thread.c
→
src/gba/gba-thread.c
@@ -209,6 +209,7 @@ threadContext->gba = 0;
ARMDeinit(&cpu); GBADestroy(&gba); + threadContext->sync.videoFrameOn = false; ConditionWake(&threadContext->sync.videoFrameAvailableCond); ConditionWake(&threadContext->sync.audioRequiredCond);