mirror of https://github.com/mgba-emu/mgba.git
SDL: Add missing call to mCoreThreadJoin
This commit is contained in:
parent
38f89a1bd8
commit
1e6f812003
|
@ -299,6 +299,7 @@ int mSDLRunGB(struct mSDLRenderer* renderer, struct GBAArguments* args) {
|
|||
renderer->audio.psg = 0;
|
||||
GBSDLResumeAudio(&renderer->audio);
|
||||
renderer->runloop(renderer, &thread);
|
||||
mCoreThreadJoin(&thread);
|
||||
renderer->core->unloadROM(renderer->core);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue