revert something crazymax did in dma which broke repeating dmas

This commit is contained in:
zeromus 2009-01-29 14:38:11 +00:00
parent 18fa16d748
commit e661331bd1
1 changed files with 3 additions and 2 deletions

View File

@ -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
} }
} }