mirror of
https://github.com/Retropex/dolphin.git
synced 2025-05-29 21:42:31 +02:00
Don't use generic byteswapping on Android
This seems to work fine nowadays.
This commit is contained in:
parent
e7359f247b
commit
5e2b2f059f
@ -134,9 +134,7 @@ inline u64 swap64(u64 _data)
|
|||||||
{
|
{
|
||||||
return _byteswap_uint64(_data);
|
return _byteswap_uint64(_data);
|
||||||
}
|
}
|
||||||
#elif __linux__ && !(ANDROID && _M_ARM_64)
|
#elif __linux__
|
||||||
// Android NDK r10c has broken builtin byte swap routines
|
|
||||||
// Disabled for now.
|
|
||||||
inline u16 swap16(u16 _data)
|
inline u16 swap16(u16 _data)
|
||||||
{
|
{
|
||||||
return bswap_16(_data);
|
return bswap_16(_data);
|
||||||
|
Loading…
Reference in New Issue
Block a user