]> git.0x19.co - doomgeneric-snom360/commit
[FIX] support byteswapping no matter what
authortechflashYT <officialTechflashYT@gmail.com>
Sat, 12 Jul 2025 10:05:04 +0000 (03:05 -0700)
committertechflashYT <officialTechflashYT@gmail.com>
Sat, 12 Jul 2025 10:05:04 +0000 (03:05 -0700)
commit178226836dd93ef4a44517365056a209965dd3d4
treec072c5cffeb6ada6d74c9eb21d4578a75d40c17a
parent8706f5ec8063f76407fe2c86d2b579f38a9f3314
[FIX] support byteswapping no matter what

This allows byteswapping, no matter what features are enabled.  This is
necessary for builds that don't use SDL to work properly on Big Endian
platforms.  Rather than relying on SDL's implementation (and just not
doing any swapping if sound is disabled???), this adds a minimal inline
implementation for Big Endian, and equates to a no-op (as the original
did) on Little Endian.
doomgeneric/i_swap.h