More CGB revision quirks

This commit is contained in:
Lior Halphon 2018-04-06 04:00:37 +03:00
parent a6ed2029b7
commit 0c86ff1ee4

View File

@ -538,6 +538,7 @@ static void write_high_memory(GB_gameboy_t *gb, uint16_t addr, uint8_t value)
return; return;
} }
/* Todo: This is writable, but glitchy, on CGB-B and CGB-D. */
if (addr < 0xFEA0) { if (addr < 0xFEA0) {
if (gb->accessed_oam_row == 0xa0) { if (gb->accessed_oam_row == 0xa0) {
for (unsigned i = 0; i < 8; i++) { for (unsigned i = 0; i < 8; i++) {