Merge pull request #444 from Kurausukun/fix_alloc

Fix Dumb Alloc/AllocZeroed Issue
This commit is contained in:
luckytyphlosion authored and GitHub committed 2021-06-26 22:53:52 -04:00
commit b9363bf366
1 file changed
+2 -2
+2 -2
View File
@@ -192,12 +192,12 @@ void InitHeap(void *heapStart, u32 heapSize)
void *Alloc(u32 size)
{
AllocInternal(sHeapStart, size);
return AllocInternal(sHeapStart, size);
}
void *AllocZeroed(u32 size)
{
AllocZeroedInternal(sHeapStart, size);
return AllocZeroedInternal(sHeapStart, size);
}
void Free(void *pointer)