all repos — mgba @ e3bfe8657918800a8dbb546b7a317d2342e6582f

mGBA Game Boy Advance Emulator

Disable drawing while the thread is shutting down
Jeffrey Pfau jeffrey@endrift.com
Sat, 18 Oct 2014 04:10:34 -0700
commit

e3bfe8657918800a8dbb546b7a317d2342e6582f

parent

4d9c375f0e65e2ab634188e5127cf24a1a12a2dc

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/gba/gba-thread.csrc/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);