mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
fix mistake in location of return
This commit is contained in:
parent
c013862b69
commit
bc8a55565b
@ -79,11 +79,11 @@ void *AllocInternal(void *heapStart, u32 size)
|
||||
|
||||
if (splitBlock->next != head)
|
||||
splitBlock->next->prev = splitBlock;
|
||||
}
|
||||
|
||||
return pos->data;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (pos->next == head)
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user