[+] Note: this is really stupid
This commit is contained in:
parent
6e75e97e48
commit
6157535914
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user