From 07e76a4ecf14e2968eae52005634b464375397f6 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sat, 9 Jan 2021 23:28:30 +0200 Subject: [PATCH] Oh boy, looks like my CGB-B is unique --- Core/apu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/apu.c b/Core/apu.c index ea187c8..3706599 100644 --- a/Core/apu.c +++ b/Core/apu.c @@ -735,7 +735,7 @@ static inline uint16_t effective_channel4_counter(GB_gameboy_t *gb) effective_counter |= 0x4; } if (effective_counter & 0x800) { - effective_counter |= 0x408; + effective_counter |= 0x408; // TODO: Only my CGB-B does that! Others behave like C! } if (effective_counter & 0x1000) { effective_counter |= 0x10;