Fix check for M64P_BIG_ENDIAN

Every check for M64P_BIG_ENDIAN in the emulator core only checks for its definition, not for its value being non-zero.
This commit is contained in:
Clownacy 2024-01-10 17:33:07 +00:00 committed by GitHub
parent f22dc14377
commit 47f8cee6ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -237,7 +237,7 @@ void alist_interleave(struct hle_t* hle, uint16_t dmemo, uint16_t left, uint16_t
uint16_t r1 = *(srcR++);
uint16_t r2 = *(srcR++);
#if M64P_BIG_ENDIAN
#ifdef M64P_BIG_ENDIAN
*(dst++) = l1;
*(dst++) = r1;
*(dst++) = l2;