summaryrefslogtreecommitdiff
path: root/include/pso
diff options
context:
space:
mode:
Diffstat (limited to 'include/pso')
-rw-r--r--include/pso/THeap.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/include/pso/THeap.h b/include/pso/THeap.h
index 60932d5..6a94dee 100644
--- a/include/pso/THeap.h
+++ b/include/pso/THeap.h
@@ -14,11 +14,15 @@ extern THeap *alt_heap;
class THeap {
public:
- u8 *heap;
- size_t alloc_size;
- s32 align;
- size_t heap_size;
- s32 mbr_0x10;
+ struct heap_node {
+ heap_node *next;
+ size_t remaining_size;
+ };
+ heap_node *heap_nodes;
+ size_t mbr_0x04;
+ size_t align;
+ size_t mbr_0x0C;
+ size_t mbr_0x10;
public:
THeap(size_t size, int align);
~THeap();