bugfix: set start pointer for EU soundAlloc
This commit is contained in:
1 parent
a526dc7306
commit
f9f360d4a0
1 file changed
+1
@@ -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