Make sure hardware registers are manipulated as little-endian
authorPaul Cercueil <paul@crapouillou.net>
Fri, 13 Sep 2019 21:01:57 +0000 (23:01 +0200)
committernotaz <notasas@gmail.com>
Fri, 29 Jul 2022 20:48:40 +0000 (23:48 +0300)
commit086adfff4fe6352e401d00c052071a6b91245b40
tree0d27c1e2e1a1a85efb905fda5d9f7d1c45676783
parent04bd10b132d06eff2a803125dc8da640be2454db
Make sure hardware registers are manipulated as little-endian

The hardware registers should be represented in little-endian format.
Therefore, on big-endian systems the values need to be byte-swapped.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
libpcsxcore/gpu.h
libpcsxcore/misc.c
libpcsxcore/psxcounters.c
libpcsxcore/psxdma.c
libpcsxcore/psxhw.c