aboutsummaryrefslogtreecommitdiff
path: root/DMA.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'DMA.cpp')
-rw-r--r--DMA.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/DMA.cpp b/DMA.cpp
index 91cb532..1284565 100644
--- a/DMA.cpp
+++ b/DMA.cpp
@@ -110,6 +110,8 @@ void DMA::Start()
if ((Cnt & 0x00600000) == 0x00600000)
CurDstAddr = DstAddr;
+ //printf("ARM%d DMA%d %08X %08X->%08X %d bytes %dbit\n", CPU?7:9, Num, Cnt, CurSrcAddr, CurDstAddr, RemCount*((Cnt&0x04000000)?4:2), (Cnt&0x04000000)?32:16);
+
// special path for cart DMA. this is a gross hack.
// emulating it properly requires emulating cart transfer delays, so uh... TODO
if (CurSrcAddr==0x04100010 && RemCount==1 && (Cnt & 0x07E00000)==0x07000000 &&
@@ -122,8 +124,6 @@ void DMA::Start()
return;
}
- //printf("ARM%d DMA%d %08X %08X->%08X %d bytes %dbit\n", CPU?7:9, Num, Cnt, CurSrcAddr, CurDstAddr, RemCount*((Cnt&0x04000000)?4:2), (Cnt&0x04000000)?32:16);
-
// TODO: NOT MAKE THE DMA INSTANT!!
if (!(Cnt & 0x04000000))
{