Avoid using hleLog during a Shutdown

This commit is contained in:
ANR2ME 2020-09-04 02:36:29 +07:00
parent 804dd07c93
commit 7083342046

View file

@ -94,14 +94,13 @@ void __NetAdhocShutdown() {
}
// Checks to avoid confusing logspam
if (netAdhocMatchingInited) {
sceNetAdhocMatchingTerm();
NetAdhocMatching_Term();
}
if (netAdhocctlInited) {
sceNetAdhocctlTerm();
NetAdhocctl_Term();
}
if (netAdhocInited) {
// Should not really call HLE funcs from shutdown, but we need to cleanup
sceNetAdhocTerm();
NetAdhoc_Term();
}
if (dummyThreadHackAddr) {
kernelMemory.Free(dummyThreadHackAddr);