Eat some cycles when changing thread priority.
Some games call this a lot.
This commit is contained in:
parent
382f3b91f4
commit
41a7157aa6
2 changed files with 4 additions and 0 deletions
|
@ -2519,6 +2519,7 @@ int sceKernelChangeThreadPriority(SceUID threadID, int priority)
|
|||
if (thread->isReady())
|
||||
threadReadyQueue.push_back(thread->nt.currentPriority, threadID);
|
||||
|
||||
hleEatCycles(450);
|
||||
hleReSchedule("change thread priority");
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue