Fix black screen on multiple libretro content loads.
Moves ThreadPool teardown to retro_unload_game. Gives ThreadPool threads some breathing room to terminate before game load starts spamming it with tasks.
This commit is contained in:
parent
752fdc9d4d
commit
02a24cdb7d
3 changed files with 3 additions and 6 deletions
|
@ -675,6 +675,8 @@ void retro_unload_game(void)
|
|||
delete ctx;
|
||||
ctx = nullptr;
|
||||
PSP_CoreParameter().graphicsContext = nullptr;
|
||||
|
||||
g_threadManager.Teardown();
|
||||
}
|
||||
|
||||
void retro_reset(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue