diff --git a/Core/HLE/sceIo.cpp b/Core/HLE/sceIo.cpp index 2146ad01c754..fa4c0a1f1765 100644 --- a/Core/HLE/sceIo.cpp +++ b/Core/HLE/sceIo.cpp @@ -469,6 +469,7 @@ void __IoInit() { if (ioManagerThreadEnabled) { Core_ListenShutdown(&__IoWakeManager); ioManagerThread = new std::thread(&__IoManagerThread); + ioManagerThread->detach(); } __KernelRegisterWaitTypeFuncs(WAITTYPE_ASYNCIO, __IoAsyncBeginCallback, __IoAsyncEndCallback); diff --git a/Core/System.cpp b/Core/System.cpp index 0588e50728bb..79d7fc42c25c 100644 --- a/Core/System.cpp +++ b/Core/System.cpp @@ -293,6 +293,7 @@ bool PSP_Init(const CoreParameter &coreParam, std::string *error_string) { Core_ListenShutdown(System_Wake); CPU_SetState(CPU_THREAD_PENDING); cpuThread = new std::thread(&CPU_RunLoop); + cpuThread->detach(); CPU_WaitStatus(cpuThreadReplyCond, &CPU_IsReady); } else { CPU_Init();