git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit eaeeb4961296261d89876bd06451a73b82429778
parent b92dd51101f85854251c06bb364aa4679ecb02ea
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Fri, 14 Jan 2022 22:26:23 +0200

Minor stylistic changes

Diffstat:
MCore/gb.h14++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/Core/gb.h b/Core/gb.h @@ -47,9 +47,15 @@ #endif #ifdef GB_BIG_ENDIAN -#define GB_REGISTER_ORDER a,f,b,c,d,e,h,l; +#define GB_REGISTER_ORDER a, f, \ + b, c, \ + d, e, \ + h, l #else -#define GB_REGISTER_ORDER f,a,c,b,e,d,l,h; +#define GB_REGISTER_ORDER f, a, \ + c, b, \ + e, d, \ + l, h #endif typedef struct { @@ -342,7 +348,7 @@ typedef union { pc; }; struct { - uint8_t GB_REGISTER_ORDER + uint8_t GB_REGISTER_ORDER; }; } GB_registers_t; @@ -380,7 +386,7 @@ struct GB_gameboy_internal_s { pc; }; struct { - uint8_t GB_REGISTER_ORDER + uint8_t GB_REGISTER_ORDER; }; }; uint8_t ime;

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.