Closed ToKe79 closed 6 years ago
You will find the swap_if_big16() macro in libretro-common/include/retro_endianness.h
When you connect a HID device to a big-endian system, the VID/PID are in Intel byte order and need to be swapped. The goal here is to do the swap at initialize time instead of runtime.
Description
Compilation for ARM devices for Lakka (JEOS for RetroArch) fails with error: http://dpaste.com/1GCG0FM This happens for all ARM devices Lakka is build for (RPi, WeTek, Odroid, ...), compilation for x86_64 and i386 is OK.
Expected behavior
Compiles without error.
Actual behavior
Compilation fails.
Bisect Results
Last working compilation for ARM devices was with commit
7e61f08
.Version/Commit
Broke with commit
0389bc6
/ PR #5997.Environment information
I was told to mention @gblues.