You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
bugfix: set start pointer for EU soundAlloc
This commit is contained in:
@@ -237,6 +237,7 @@ void *soundAlloc(struct SoundAllocPool *pool, u32 size) {
|
||||
u8 *start;
|
||||
u32 alignedSize = ALIGN16(size);
|
||||
|
||||
start = pool->cur;
|
||||
if (start + alignedSize <= pool->start + pool->size) {
|
||||
bzero(start, alignedSize);
|
||||
pool->cur += alignedSize;
|
||||
|
||||
Reference in New Issue
Block a user