all repos — mgba @ 1e6f812003d145725ce65c72feba612dd11dce66

mGBA Game Boy Advance Emulator

SDL: Add missing call to mCoreThreadJoin
Jeffrey Pfau jeffrey@endrift.com
Wed, 03 Feb 2016 20:57:20 -0800
commit

1e6f812003d145725ce65c72feba612dd11dce66

parent

38f89a1bd875ea8473d71ae16339e12c8bb4f37e

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

jump to
M src/platform/sdl/main.csrc/platform/sdl/main.c

@@ -299,6 +299,7 @@ mCoreThreadStart(&thread);

renderer->audio.psg = 0; GBSDLResumeAudio(&renderer->audio); renderer->runloop(renderer, &thread); + mCoreThreadJoin(&thread); renderer->core->unloadROM(renderer->core); return 0; }