cdrom: Fix PBP support on big-endian platforms
authorPaul Cercueil <paul@crapouillou.net>
Tue, 24 May 2022 21:22:48 +0000 (22:22 +0100)
committerAsh Logan <ash@heyquark.com>
Mon, 6 Jun 2022 13:06:49 +0000 (23:06 +1000)
commit58cb143834f29332a539e519e80d928bbb747225
treeae3c9227da0e369260fe6a4257db731078af3e7a
parent495d603c20ec58689bd7f73348d16e17f5491f5b
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