revert something crazymax did in dma which broke repeating dmas
This commit is contained in:
parent
18fa16d748
commit
e661331bd1
|
@ -986,12 +986,13 @@ void FASTCALL MMU_doDMA(u32 num)
|
||||||
src += srcinc;
|
src += srcinc;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
//this is necessary for repeating DMA such as to scroll registers for NSMB level backdrop scrolling effect
|
||||||
|
//#if 0
|
||||||
//write back the addresses
|
//write back the addresses
|
||||||
DMASrc[PROCNUM][num] = src;
|
DMASrc[PROCNUM][num] = src;
|
||||||
if((u & 0x3)!=3) //but dont write back dst if we were supposed to reload
|
if((u & 0x3)!=3) //but dont write back dst if we were supposed to reload
|
||||||
DMADst[PROCNUM][num] = dst;
|
DMADst[PROCNUM][num] = dst;
|
||||||
#endif
|
//#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue