Always resched in thread queue rotation.

It might be time to reschedule anyway, some games call this in a loop with
an empty queue.

May help Harukanaru Toki No Naka de Hachiyoushou (#4669.)
This commit is contained in:
Unknown W. Brackets 2013-11-29 08:58:58 -08:00
parent 33023a34d7
commit 7dedf54bc3

View File

@ -2346,10 +2346,9 @@ int sceKernelRotateThreadReadyQueue(int priority)
// Yield the next thread of this priority to all other threads of same priority.
else
threadReadyQueue.rotate(priority);
hleReSchedule("rotatethreadreadyqueue");
}
hleReSchedule("rotatethreadreadyqueue");
hleEatCycles(250);
return 0;
}