mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06: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:
@ -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()
|
||||
|
Reference in New Issue
Block a user