mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-24 11:39:00 +02:00
Common: Fix CountTrailingZeros for weird compilers
This commit is contained in:
1 parent
38cb76dea5
commit
3d34a20105
1 file changed
+1
-1
@@ -457,7 +457,7 @@ constexpr int CountTrailingZeros(uint32_t value)
|
||||
return _BitScanForward(&index, value) ? index : 32;
|
||||
}
|
||||
#else
|
||||
return CountLeadingZerosConst(value);
|
||||
return CountTrailingZerosConst(value);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user