mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 12:13:50 +01:00
Reduce the thread switching cost.
Maybe it was actually too high. Some tests fail with it that high.
This commit is contained in:
1 parent
4471b968e8
commit
5ab3750186
1 file changed
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user