misc: Use GCC builtins for byte-swap operations
authorPaul Cercueil <paul@crapouillou.net>
Thu, 26 May 2022 13:07:41 +0000 (14:07 +0100)
committerAsh Logan <ash@heyquark.com>
Mon, 6 Jun 2022 13:05:05 +0000 (23:05 +1000)
commit0a2601833173a2516afb4d87f1157b59e55e96f1
tree20c1abc4d6a3d2fc07e8bbfb09f38473e8caca6d
parentdb215a72fefe4ab89b0613b57ed45c1047b1e930
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