mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 12:18:35 +01:00
Fix dumb typo in sceKernelRotateThreadReadyQueue().
This commit is contained in:
1 parent
96f2d860e4
commit
2500910d72
1 file changed
+2
-2
@@ -1728,9 +1728,9 @@ int sceKernelRotateThreadReadyQueue(int priority)
|
||||
cur->nt.status = THREADSTATUS_READY;
|
||||
}
|
||||
// Yield the next thread of this priority to all other threads of same priority.
|
||||
else if (threadReadyQueue[priority].size() > 1)
|
||||
else if (queue.size() > 1)
|
||||
{
|
||||
SceUID first = threadReadyQueue[priority].front();
|
||||
SceUID first = queue.front();
|
||||
queue.pop_front();
|
||||
queue.push_back(first);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user