Not sure where I've got that 0 from

This commit is contained in:
Lior Halphon 2022-02-07 00:21:45 +02:00
parent f8a105e8d0
commit c730ba767b

View File

@ -1717,7 +1717,7 @@ void GB_dma_run(GB_gameboy_t *gb)
}
else {
if (GB_is_cgb(gb)) {
gb->oam[gb->dma_current_dest++] = 0;
gb->oam[gb->dma_current_dest++] = 0xFF;
}
else {
gb->oam[gb->dma_current_dest++] = GB_read_memory(gb, gb->dma_current_src & ~0x2000);