misc: get rid of an unaligned read
authornotaz <notasas@gmail.com>
Sun, 28 Aug 2022 20:51:40 +0000 (23:51 +0300)
committerLibretroAdmin <reallibretroretroarch@gmail.com>
Mon, 29 Aug 2022 23:15:14 +0000 (01:15 +0200)
commit5bb56b1a0ec9c4875a4b9f532d79ee477a5a6e8e
treed67f4bc6ea4b5b95e276e9cded2b440cf3ebe43b
parentd38927c1a43f654a6e9e7fc60c837bd35c3497f7
misc: get rid of an unaligned read

96c6ec7055ecef55b3dd221c86b796512bf52107 introduced an unaligned read
which is undefined behavior in C, even if most hardware allows it
(but some very old ARMs don't). Perf. doesn't matter here so read
byte-by-byte.

notaz/pcsx_rearmed#261
libpcsxcore/misc.c