Don't align size to grain for PMB.

This commit is contained in:
Unknown W. Brackets 2013-03-03 20:20:49 -08:00
parent 20bb472b66
commit f2bdea74be
3 changed files with 7 additions and 5 deletions

View file

@ -427,7 +427,7 @@ public:
address = alloc->AllocAt(alignment, size, name);
}
else if (type == PSP_SMEM_LowAligned || type == PSP_SMEM_HighAligned)
address = alloc->AllocAligned(size, alignment, type == PSP_SMEM_HighAligned, name);
address = alloc->AllocAligned(size, 0x100, alignment, type == PSP_SMEM_HighAligned, name);
else
address = alloc->Alloc(size, type == PSP_SMEM_High, name);
alloc->ListBlocks();