[sceIo] 360 thread fixes

This commit is contained in:
Ced2911 2013-09-10 14:51:39 +02:00 committed by Unknown W. Brackets
parent 22ede1ebf3
commit b6d37f97b8

View file

@ -475,6 +475,11 @@ void __IoInit() {
if (ioManagerThreadEnabled) {
Core_ListenShutdown(&__IoWakeManager);
ioManagerThread = new std::thread(&__IoManagerThread);
#ifdef _XBOX
SuspendThread(ioManagerThread->native_handle());
XSetThreadProcessor(ioManagerThread->native_handle(), 4);
ResumeThread(ioManagerThread->native_handle());
#endif
ioManagerThread->detach();
}