Eat some cycles when changing thread priority.

Some games call this a lot.
This commit is contained in:
Unknown W. Brackets 2013-11-28 01:01:22 -08:00
parent 382f3b91f4
commit 41a7157aa6
2 changed files with 4 additions and 0 deletions

View file

@ -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;
}