git.y1.nz

SameBoy

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

commit f3277ab8d32e966198923be6cdbcac7301b4115c
parent e9906e44cdd50231b67a31f582bee6f96a3b9683
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Mon, 20 Dec 2021 18:59:51 +0200

Sorry C++ users

Diffstat:
MCore/gb.h3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Core/gb.h b/Core/gb.h @@ -3,6 +3,7 @@ #define typeof __typeof__ #include <stdbool.h> #include <stdint.h> +#include <stdalign.h> #include <time.h> #include "defs.h" @@ -782,7 +783,7 @@ struct GB_gameboy_internal_s { #ifndef GB_INTERNAL struct GB_gameboy_s { - _Alignas(struct GB_gameboy_internal_s) uint8_t __internal[sizeof(struct GB_gameboy_internal_s)]; + alignas(struct GB_gameboy_internal_s) uint8_t __internal[sizeof(struct GB_gameboy_internal_s)]; }; #endif

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