Oh boy, looks like my CGB-B is unique

This commit is contained in:
Lior Halphon 2021-01-09 23:28:30 +02:00
parent 1b3f52e8c0
commit 07e76a4ecf

View File

@ -735,7 +735,7 @@ static inline uint16_t effective_channel4_counter(GB_gameboy_t *gb)
effective_counter |= 0x4; effective_counter |= 0x4;
} }
if (effective_counter & 0x800) { 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) { if (effective_counter & 0x1000) {
effective_counter |= 0x10; effective_counter |= 0x10;