misc: get rid of an unaligned read
authornotaz <notasas@gmail.com>
Sun, 28 Aug 2022 20:51:40 +0000 (23:51 +0300)
committernotaz <notasas@gmail.com>
Sun, 28 Aug 2022 20:51:40 +0000 (23:51 +0300)
commit1c654475393e6595bc00245178ae5bf253e318ef
tree91034431d5bfe1b1cc14bb0e086f0467569d1c08
parent26e3e2aa7525fd4e63e64192dfbb68950e0e4c5a
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