mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
Use utils::get_cpu_brand when applicable
This commit is contained in:
parent
f6200ba635
commit
31035608ee
@ -2154,7 +2154,7 @@ void thread_ctrl::detect_cpu_layout()
|
||||
if (!g_native_core_layout.compare_and_swap_test(native_core_arrangement::undefined, native_core_arrangement::generic))
|
||||
return;
|
||||
|
||||
const auto system_id = utils::get_system_info();
|
||||
const auto system_id = utils::get_cpu_brand();
|
||||
if (system_id.find("Ryzen") != umax)
|
||||
{
|
||||
g_native_core_layout.store(native_core_arrangement::amd_ccx);
|
||||
@ -2226,7 +2226,7 @@ u64 thread_ctrl::get_affinity_mask(thread_class group)
|
||||
case native_core_arrangement::amd_ccx:
|
||||
{
|
||||
u64 spu_mask, ppu_mask, rsx_mask;
|
||||
const auto system_id = utils::get_system_info();
|
||||
const auto system_id = utils::get_cpu_brand();
|
||||
if (thread_count >= 32)
|
||||
{
|
||||
if (system_id.find("3950X") != umax)
|
||||
|
Loading…
Reference in New Issue
Block a user