Core: Wait for background CPU load on exit.

This prevents crashes when exiting a game while loading is still in
progress.  See #11516.
This commit is contained in:
Unknown W. Brackets committed 2018-11-01 21:29:34 -07:00
1 parent 5ea935f4bf
commit 670e207c57
5 files changed
+41 -1

No files matched your search

+1 -1
View File
@@ -334,7 +334,7 @@ void EmuScreen::bootComplete() {
}
EmuScreen::~EmuScreen() {
if (!invalid_) {
if (!invalid_ || bootPending_) {
// If we were invalid, it would already be shutdown.
PSP_Shutdown();
}