mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
Merge pull request #10832 from tellowkrinkle/FixCTZ
Common: Fix CountTrailingZeros for weird compilers
This commit is contained in:
commit
99eef44765
@ -457,7 +457,7 @@ constexpr int CountTrailingZeros(uint32_t value)
|
||||
return _BitScanForward(&index, value) ? index : 32;
|
||||
}
|
||||
#else
|
||||
return CountLeadingZerosConst(value);
|
||||
return CountTrailingZerosConst(value);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user