mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-18 21:10:05 +00:00
bug in dma size calculation
This commit is contained in:
parent
effb5a8b62
commit
0fb0b6056c
@ -657,7 +657,7 @@ void processCollisionTask(void* userPtr, void* lsMemPtr)
|
||||
{
|
||||
|
||||
{
|
||||
int dmaSize = numPairs*sizeof(SpuGatherAndProcessPairsTaskDesc);
|
||||
int dmaSize = numPairs*sizeof(btBroadphasePair);
|
||||
uint64_t dmaPpuAddress = wuInputs[j].m_pairArrayPtr+wuInputs[j].m_startIndex * sizeof(btBroadphasePair);
|
||||
cellDmaGet(&lsMem.gBroadphasePairs, dmaPpuAddress , dmaSize, DMA_TAG(1), 0, 0);
|
||||
cellDmaWaitTagStatusAll(DMA_MASK(1));
|
||||
|
Loading…
Reference in New Issue
Block a user