all repos — mgba @ a786be5bdf8dcb9c63b2a96798e98fc47688cf7b

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

a786be5bdf8dcb9c63b2a96798e98fc47688cf7b

parent

c7035f6c347423dc0a13ca5e72a002448758f87e

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

jump to
M CHANGESCHANGES

@@ -29,6 +29,7 @@ - GBA Video: Fix Hblank timing

- GBA Video: Fix invalid read in mode 4 mosaic - GBA Video: Fix color of disabled screen - SM83: Emulate HALT bug + - SM83: Fix flags on little endian PowerPC Other fixes: - All: Improve export headers (fixes mgba.io/i/1738) - All: Correct format strings for some numbers on Windows (fixes mgba.io/i/1794)
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;