Merge pull request #444 from Kurausukun/fix_alloc

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