(UWP) Rewind should now work - issues with the BitScanReverse
codepath for compat_ctz on UWP/WinRT - have not figured out a solution yet, so just make it default to slowest ctz codepath for now
This commit is contained in:
parent
4c3e0d44b8
commit
4f8e59a3f8
|
@ -61,7 +61,7 @@ static INLINE int compat_ctz(unsigned x)
|
|||
{
|
||||
#if defined(__GNUC__) && !defined(RARCH_CONSOLE)
|
||||
return __builtin_ctz(x);
|
||||
#elif _MSC_VER >= 1400 && !defined(_XBOX)
|
||||
#elif _MSC_VER >= 1400 && !defined(_XBOX) && !defined(__WINRT__)
|
||||
unsigned long r = 0;
|
||||
_BitScanReverse((unsigned long*)&r, x);
|
||||
return (int)r;
|
||||
|
|
Loading…
Reference in New Issue