misc: Use GCC builtins for byte-swap operations
authorPaul Cercueil <paul@crapouillou.net>
Thu, 26 May 2022 13:07:41 +0000 (14:07 +0100)
committernotaz <notasas@gmail.com>
Fri, 29 Jul 2022 20:48:40 +0000 (23:48 +0300)
commit96c6ec7055ecef55b3dd221c86b796512bf52107
tree841c8d140a1985e8763341b04be5fc27df7660d2
parent89df80c636609625bb2e89099805f49cfef3ead0
misc: Use GCC builtins for byte-swap operations

Instead of using custom code to byte-swap values, use the built-in
function provided by GCC.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
libpcsxcore/misc.c
libpcsxcore/psxmem.h