all repos — mgba @ 64f1870d7b57fc531cd3b8776ea9302393ed5e3e

mGBA Game Boy Advance Emulator

DS DMA: Fix ITCM blocking
Vicki Pfau vi@endrift.com
Fri, 07 Apr 2017 00:12:23 -0700
commit

64f1870d7b57fc531cd3b8776ea9302393ed5e3e

parent

c24f31d2a740eb5970707e9d94532f42a1379a79

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/ds/dma.csrc/ds/dma.c

@@ -226,7 +226,7 @@ }

} info->when += cycles; - if (source >= DS_BASE_RAM) { + if (source >= DS_BASE_RAM && dest >= DS_BASE_RAM) { uint32_t word; if (width == 4) { word = cpu->memory.load32(cpu, source, 0);