SDL: Add missing call to mCoreThreadJoin
Jeffrey Pfau jeffrey@endrift.com
Wed, 03 Feb 2016 20:57:20 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/platform/sdl/main.c
→
src/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; }