all repos — mgba @ 508790445c6d16238d12e351335b4a34d4659386

mGBA Game Boy Advance Emulator

SM83: Fix flags on little endian PowerPC
Vicki Pfau vi@endrift.com
Sun, 26 Jul 2020 17:46:55 -0700
commit

508790445c6d16238d12e351335b4a34d4659386

parent

ca92e595885ce14fefdc2f38456c962580b8fea4

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -10,6 +10,7 @@ - GB Video: Always initialize palette

- GBA BIOS: Fix reloading video registers after reset (fixes mgba.io/i/1808) - GBA Video: Fix invalid read in mode 4 mosaic - GBA Video: Fix color of disabled screen + - SM83: Fix flags on little endian PowerPC Other fixes: - All: Correct format strings for some numbers on Windows (fixes mgba.io/i/1794) - All: Correct more format strings on Windows (fixes mgba.io/i/1817)
M include/mgba/internal/sm83/sm83.hinclude/mgba/internal/sm83/sm83.h

@@ -18,7 +18,7 @@

#pragma pack(push, 1) union FlagRegister { struct { -#if defined(__POWERPC__) || defined(__PPC__) +#ifdef __BIG_ENDIAN__ unsigned z : 1; unsigned n : 1; unsigned h : 1;