eeCycleRage: negligible fix for the milest underclock calculation

This now makes the mildest underclock really identical to before 90b11b2 .
This commit is contained in:
Avi Halachmi (:avih) 2016-07-30 18:11:31 +03:00
parent 460b7be47a
commit 5e3c2f0c6a
1 changed files with 1 additions and 1 deletions

View File

@ -970,7 +970,7 @@ static u32 scaleblockcycles_calc()
else if (cyclerate == -1) // the mildest value which is also used by the "balanced" preset. else if (cyclerate == -1) // the mildest value which is also used by the "balanced" preset.
// These values were manually tuned to yield mild speedup with high compatibility // These values were manually tuned to yield mild speedup with high compatibility
scale_cycles = (s_nBlockCycles <= 80 || s_nBlockCycles >= 168 ? 5 : 7) * s_nBlockCycles / 32; scale_cycles = (s_nBlockCycles <= 80 || s_nBlockCycles > 168 ? 5 : 7) * s_nBlockCycles / 32;
else else
scale_cycles = ((5 + (-2 * (cyclerate + 1))) * s_nBlockCycles) >> 5; scale_cycles = ((5 + (-2 * (cyclerate + 1))) * s_nBlockCycles) >> 5;