Fix dumb typo in sceKernelRotateThreadReadyQueue().

This commit is contained in:
Unknown W. Brackets committed 2013-03-20 14:11:13 -07:00
1 parent 96f2d860e4
commit 2500910d72
1 file changed
+2 -2
+2 -2
View File
@@ -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);
}