diff --git a/Core/HLE/sceNetAdhoc.cpp b/Core/HLE/sceNetAdhoc.cpp index e3dfd5c46f..1c2ff284e8 100644 --- a/Core/HLE/sceNetAdhoc.cpp +++ b/Core/HLE/sceNetAdhoc.cpp @@ -82,6 +82,9 @@ void __NetAdhocShutdown() { sceNetAdhocctlTerm(); } if (netAdhocInited) { + // Should not really call HLE funcs from shutdown. + // Prevent attempting to delete the thread, already deleted by shutdown. + threadAdhocID = 0; sceNetAdhocTerm(); } if (dummyThreadHackAddr) {