void CALLBACK SPU2writeDMA4Mem(u16* pMem, u32 size) { //size now in 16bit units FileLog("[%10d] SPU2 writeDMA4Mem size %x at address %x\n",Cycles, size<<1, Cores[0].TSA); #ifdef S2R_ENABLE if(!replay_mode) s2r_writedma4(Cycles,pMem,size); #endif SPU2writeDMA(0,pMem,size); }
EXPORT_C_(void) CALLBACK SPU2writeDMA4Mem(u16* pMem, u32 size) // size now in 16bit units { if( cyclePtr != NULL ) TimeUpdate( *cyclePtr ); FileLog("[%10d] SPU2 writeDMA4Mem size %x at address %x\n",Cycles, size<<1, Cores[0].TSA); #ifdef S2R_ENABLE if(!replay_mode) s2r_writedma4(Cycles,pMem,size); #endif Cores[0].DoDMAwrite(pMem,size); }