bugfix: set start pointer for EU soundAlloc

This commit is contained in:
gheskett
2021-09-12 11:58:22 -04:00
parent a526dc7306
commit f9f360d4a0

View File

@@ -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;