From 31035608eeee10b83048ae6a2c32dfb62f5b1722 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Thu, 30 Apr 2020 19:06:05 +0300 Subject: [PATCH] Use utils::get_cpu_brand when applicable --- Utilities/Thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index 1ae49032b2..e3d06c5e1c 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -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)