mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
CPUDetect: improve win/arm64 support
read brand_string on macos/arm64 remove unused flags report family/model info instead of vendor name
This commit is contained in:
parent
e4ff49769c
commit
76b4318b88
9 changed files with 422 additions and 229 deletions
|
@ -179,8 +179,8 @@ bool VideoConfig::UsingUberShaders() const
|
|||
|
||||
static u32 GetNumAutoShaderCompilerThreads()
|
||||
{
|
||||
// Automatic number. We use clamp(cpus - 3, 1, 4).
|
||||
return static_cast<u32>(std::min(std::max(cpu_info.num_cores - 3, 1), 4));
|
||||
// Automatic number.
|
||||
return static_cast<u32>(std::clamp(cpu_info.num_cores - 3, 1, 4));
|
||||
}
|
||||
|
||||
static u32 GetNumAutoShaderPreCompilerThreads()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue