Core: CPU_Cores sanity check

This commit is contained in:
Mirek Fidler 2025-10-08 12:50:35 +02:00
parent b277c8ee98
commit 2c799da9e4

View file

@ -108,6 +108,7 @@ int CPU_Cores()
#else
n = 1;
#endif
n = max(n, 1); // sanity
}
return n;
}