1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Return zen4 for zen5+ until LLVM upgrade

This commit is contained in:
kd-11 2024-08-03 05:27:58 +03:00 committed by kd-11
parent dd708166aa
commit c8e81a2dad

View File

@ -745,10 +745,11 @@ llvm::StringRef fallback_cpu_detection()
? "znver3" ? "znver3"
: "znver4"; : "znver4";
case 0x1a: case 0x1a:
// Only one generation in family 1a so far // Only one generation in family 1a so far, zen5, which we do not support yet.
return "znver5"; // Return zen4 as a workaround until the next LLVM upgrade.
return "znver4";
default: default:
return "znver5"; // Return newest known model here return "znver4"; // Return newest known model here
} }
} }
else if (brand.contains("Intel")) else if (brand.contains("Intel"))