mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Eat some cycles when changing thread priority.
Some games call this a lot.
This commit is contained in:
1 parent
382f3b91f4
commit
41a7157aa6
2 files changed
+4
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user