mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-18 01:16:29 +02:00
misc: Code cleanups & improvements, again
This commit is contained in:
parent
a13cf098b4
commit
235083ad75
13 changed files with 75 additions and 156 deletions
|
@ -799,11 +799,11 @@ namespace ARMeilleure.Translation.PTC
|
|||
|
||||
int degreeOfParallelism = Environment.ProcessorCount;
|
||||
|
||||
if (Optimizations.EcoFriendly)
|
||||
if (Optimizations.LowPower)
|
||||
degreeOfParallelism /= 3;
|
||||
|
||||
// If there are enough cores lying around, we leave one alone for other tasks.
|
||||
if (degreeOfParallelism > 4 && !Optimizations.EcoFriendly)
|
||||
if (degreeOfParallelism > 4 && !Optimizations.LowPower)
|
||||
{
|
||||
degreeOfParallelism--;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue