From eaeeb4961296261d89876bd06451a73b82429778 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Fri, 14 Jan 2022 22:26:23 +0200 Subject: [PATCH] Minor stylistic changes --- Core/gb.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Core/gb.h b/Core/gb.h index 96a7d0f..587d38c 100644 --- 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;