mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 13:20:43 +00:00
Update
This commit is contained in:
parent
b51a19da5c
commit
587747e030
@ -61,7 +61,7 @@ static INLINE int compat_ctz(unsigned x)
|
|||||||
{
|
{
|
||||||
#if defined(__GNUC__) && !defined(RARCH_CONSOLE)
|
#if defined(__GNUC__) && !defined(RARCH_CONSOLE)
|
||||||
return __builtin_ctz(x);
|
return __builtin_ctz(x);
|
||||||
#elif _MSC_VER >= 1400
|
#elif _MSC_VER >= 1400 && !defined(_XBOX)
|
||||||
unsigned long r = 0;
|
unsigned long r = 0;
|
||||||
_BitScanReverse((unsigned long*)&r, x);
|
_BitScanReverse((unsigned long*)&r, x);
|
||||||
return (int)r;
|
return (int)r;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user