mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-10 01:24:41 -06:00
Replaced POPCNT with std::popcount<unsigned int>
This commit is contained in:
parent
73a8e6faac
commit
d68d6c4e04
@ -398,7 +398,7 @@ namespace coreinit
|
||||
else
|
||||
track = (MEMBlockHeapTrackDEPR*)memory_getPointerFromVirtualOffsetAllowNull(_swapEndianU32(blockHeapHead->headBlock));
|
||||
|
||||
cemu_assert_debug(POPCNT(alignment) == 1); // not a supported alignment value
|
||||
cemu_assert_debug(std::popcount<unsigned int>(alignment) == 1); // not a supported alignment value
|
||||
while (track)
|
||||
{
|
||||
if (track->isFree != _swapEndianU32(0))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user