git.y1.nz

SameBoy

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

commit ea40a7be05f5eb6a2481572819b29d10c62d8312
parent 0ebfdb840a703611f15729f8ce2f847c02c87a06
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Fri, 16 Sep 2022 12:20:59 +0300

Fix DMA regression, fixes #495

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

diff --git a/Core/memory.c b/Core/memory.c @@ -533,7 +533,7 @@ static uint8_t read_high_memory(GB_gameboy_t *gb, uint16_t addr) return 0xFF; } - if (GB_is_dma_active(gb)) { + if (GB_is_dma_active(gb) && gb->dma_current_dest != 0) { /* Todo: Does reading from OAM during DMA causes the OAM bug? */ return 0xFF; }

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