(PS3 RGL) Pallocator - change size to only one GmmAllocator

This commit is contained in:
twinaphex 2013-11-17 18:29:51 +01:00
parent 2ee221e7c6
commit 1c6a0642d6
1 changed files with 2 additions and 2 deletions

View File

@ -450,12 +450,12 @@ static uint32_t gmmInit(const void *localMemoryBase, const void *localStartAddre
alignedLocalSize = localEndAddress - (uint32_t)localStartAddress;
pAllocator = (GmmAllocator *)malloc(2*sizeof(GmmAllocator));
pAllocator = (GmmAllocator *)malloc(sizeof(GmmAllocator));
if (pAllocator == NULL)
return GMM_ERROR;
memset(pAllocator, 0, 1 * sizeof(GmmAllocator));
memset(pAllocator, 0, sizeof(GmmAllocator));
if (pAllocator)
{