mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-12 13:08:24 -10:00
Audited all 28 sites that #include <retro_endianness.h>. Three files
reference no symbol from that header (no SWAP*, swap_if_*, MSB_FIRST,
LSB_FIRST, RETRO_IS_*_ENDIAN, is_little_endian, retro_*_to_*, load32be,
store32be, retro_unaligned*, MAY_ALIAS, etc.):
input/drivers_hid/wiiu_hid.c
Uses SWAP_IF_BIG(), which is defined in joypad_connection.h and
reaches this TU transitively via wiiu/hid.h -> wiiu/input.h ->
connect/joypad_connection.h. joypad_connection.h is the site that
actually needs retro_endianness.h (for the MSB_FIRST gate on its
SWAP_IF_BIG definition); wiiu_hid.c does not.
input/input_driver.c
No endianness references at all.
tasks/task_database.c
No endianness references at all. (task_database_cue.c, included as
a sibling .c, does use MSB_FIRST and keeps its own include.)