From 7dedf54bc379789e3bdf994e258881148eddd4f9 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 29 Nov 2013 08:58:58 -0800 Subject: [PATCH] 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.) --- Core/HLE/sceKernelThread.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/HLE/sceKernelThread.cpp b/Core/HLE/sceKernelThread.cpp index ca3c9e4d77..e895399195 100644 --- a/Core/HLE/sceKernelThread.cpp +++ b/Core/HLE/sceKernelThread.cpp @@ -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; }