Avoid crash on undefined arch

This commit is contained in:
DH 2025-03-13 01:10:59 +03:00
parent 44d97ffd2f
commit f78e4e5061

View file

@ -896,7 +896,7 @@ const char * fallback_cpu_detection()
std::string result = aarch64::get_cpu_name();
if (result.empty())
{
return "cortex-a32";
return "cortex-a34";
}
std::transform(result.begin(), result.end(), result.begin(), ::tolower);