Null out threadContext->gba when shutting down
Jeffrey Pfau jeffrey@endrift.com
Mon, 03 Feb 2014 00:42:20 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-thread.c
→
src/gba/gba-thread.c
@@ -133,6 +133,7 @@ if (threadContext->cleanCallback) {
threadContext->cleanCallback(threadContext); } + threadContext->gba = 0; GBADeinit(&gba); ConditionWake(&threadContext->sync.videoFrameAvailableCond);