git.y1.nz

SameBoy

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

commit e9906e44cdd50231b67a31f582bee6f96a3b9683
parent f866441481dbec7e32fdd9dc3a3785a2f9027cba
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sun, 19 Dec 2021 21:46:22 +0200

Sure, why not

Diffstat:
MCore/gb.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Core/gb.c b/Core/gb.c @@ -1329,7 +1329,7 @@ bool GB_is_inited(GB_gameboy_t *gb) bool GB_is_cgb(GB_gameboy_t *gb) { - return (gb->model & GB_MODEL_FAMILY_MASK) == GB_MODEL_CGB_FAMILY; + return gb->model >= GB_MODEL_CGB_0; } bool GB_is_cgb_in_cgb_mode(GB_gameboy_t *gb)

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