DS DMA: Fix ITCM blocking

This commit is contained in:
Vicki Pfau 2017-04-07 00:12:23 -07:00
parent c24f31d2a7
commit 64f1870d7b
1 changed files with 1 additions and 1 deletions

View File

@ -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);