From 5ab37501868f77087c80822c77b329b5c85029ee Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 27 Jun 2014 00:59:57 -0700 Subject: [PATCH] Reduce the thread switching cost. Maybe it was actually too high. Some tests fail with it that high. --- Core/HLE/sceKernelThread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/HLE/sceKernelThread.cpp b/Core/HLE/sceKernelThread.cpp index 13e7be63f0..e040a6255e 100644 --- a/Core/HLE/sceKernelThread.cpp +++ b/Core/HLE/sceKernelThread.cpp @@ -3241,9 +3241,9 @@ void __KernelSwitchContext(Thread *target, const char *reason) if (fromIdle && toIdle) { // Don't eat any cycles going between idle. } else if (fromIdle || toIdle) { - currentMIPS->downcount -= 1500; + currentMIPS->downcount -= 1200; } else { - currentMIPS->downcount -= 3000; + currentMIPS->downcount -= 2700; } if (target)