all repos — mgba @ acc58fccc9770bbaadefdfd8524ec17a347ec3b3

mGBA Game Boy Advance Emulator

Null out threadContext->gba when shutting down
Jeffrey Pfau jeffrey@endrift.com
Mon, 03 Feb 2014 00:42:20 -0800
commit

acc58fccc9770bbaadefdfd8524ec17a347ec3b3

parent

9f3cf19c2d11fe139a8fd9e65264c54b4116e1d2

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

jump to
M src/gba/gba-thread.csrc/gba/gba-thread.c

@@ -133,6 +133,7 @@ if (threadContext->cleanCallback) {

threadContext->cleanCallback(threadContext); } + threadContext->gba = 0; GBADeinit(&gba); ConditionWake(&threadContext->sync.videoFrameAvailableCond);