Freeing display list allocations

This commit is contained in:
jaburns
2020-10-27 13:26:58 -06:00
parent 71e918a01e
commit c74ab070e6
13 changed files with 118 additions and 98 deletions
+15
View File
@@ -0,0 +1,15 @@
#pragma once
#include "include/types.h"
struct AllocOnlyPool;
extern void memory_init(void);
extern void memory_terminate(void);
extern struct AllocOnlyPool *alloc_only_pool_init(void);
extern void *alloc_only_pool_alloc(struct AllocOnlyPool *pool, s32 size);
extern void alloc_only_pool_free(struct AllocOnlyPool *pool);
extern void display_list_pool_reset(void);
extern void *alloc_display_list(u32 size);