Reduce Windows debugger crashes on shutdown

This commit is contained in:
Henrik Rydgård committed 2024-10-29 11:20:03 +01:00
1 parent fdab5cb7bd
commit 14bb7a6062
3 files changed
+5 -4

No files matched your search

+3
View File
@@ -550,6 +550,9 @@ bool PSP_IsQuitting() {
}
void PSP_Shutdown() {
// Reduce the risk for weird races with the Windows GE debugger.
gpuDebug = nullptr;
Achievements::UnloadGame();
// Do nothing if we never inited.