mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
[sceIo] 360 thread fixes
This commit is contained in:
parent
22ede1ebf3
commit
b6d37f97b8
1 changed files with 5 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue