[+] Note: this is really stupid

This commit is contained in:
Reece Wilson 2021-10-25 18:06:24 +01:00
parent 6e75e97e48
commit 6157535914

View File

@ -434,6 +434,8 @@ namespace Aurora::HWInfo
{
if (sysinfo[i].Relationship == RelationProcessorCore)
{
//TODO: fuck it, if some macro fuckery, use popcnt on x86
//we just need to count the bits. first it was just two BitScanForwards. discontiguous cores fucked things up so now we have a loop just to count a few bits.
gCpuInfo.cores++;
auto mask = sysinfo[i].ProcessorMask;