mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
Common: Fix CountTrailingZeros for weird compilers
This commit is contained in:
parent
38cb76dea5
commit
3d34a20105
1 changed files with 1 additions and 1 deletions
|
@ -457,7 +457,7 @@ constexpr int CountTrailingZeros(uint32_t value)
|
||||||
return _BitScanForward(&index, value) ? index : 32;
|
return _BitScanForward(&index, value) ? index : 32;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
return CountLeadingZerosConst(value);
|
return CountTrailingZerosConst(value);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue