mirror of https://github.com/mgba-emu/mgba.git
DS DMA: Fix ITCM blocking
This commit is contained in:
parent
c24f31d2a7
commit
64f1870d7b
|
@ -226,7 +226,7 @@ void DSDMAService(struct DSCommon* dscore, struct GBADMA* info) {
|
||||||
}
|
}
|
||||||
info->when += cycles;
|
info->when += cycles;
|
||||||
|
|
||||||
if (source >= DS_BASE_RAM) {
|
if (source >= DS_BASE_RAM && dest >= DS_BASE_RAM) {
|
||||||
uint32_t word;
|
uint32_t word;
|
||||||
if (width == 4) {
|
if (width == 4) {
|
||||||
word = cpu->memory.load32(cpu, source, 0);
|
word = cpu->memory.load32(cpu, source, 0);
|
||||||
|
|
Loading…
Reference in New Issue