cdrom: Fix PBP support on big-endian platforms
authorPaul Cercueil <paul@crapouillou.net>
Tue, 24 May 2022 21:22:48 +0000 (22:22 +0100)
committernotaz <notasas@gmail.com>
Fri, 29 Jul 2022 20:48:40 +0000 (23:48 +0300)
commit20773741ad8db44d4f8caf2332f1350a2ad80c50
treed8a79de753f21eb6eecee35f7e1e60e374b55f0c
parentae097dfb64926c50902b08b681cbf805b98e3751
cdrom: Fix PBP support on big-endian platforms

The data contained in the PBP is in little-endian format. Therefore,
everything in the PBP's header must be read with the byte-swap macros,
for PBP support to work on big-endian systems.

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