]> git.bts.cx Git - benzene.git/blob - src_platform/playdate/bz/memory/arena.c
Fixed Aseprite rendering system
[benzene.git] / src_platform / playdate / bz / memory / arena.c
1 #include <bz/memory/arena_internal.h>
2
3 #include <playdate/entrypoint.h>
4
5 void *bzSystemAllocate(size_t size) {
6 void *mem = playdate->system->realloc(NULL, size);
7 bzAssertMessage(mem != NULL, "Allocation failed");
8 return mem;
9 }