summaryrefslogtreecommitdiff
path: root/src/code/main.c
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2023-05-28 20:04:07 -0700
committerGitHub <noreply@github.com>2023-05-29 13:04:07 +1000
commitfc475a97565ade34d57f80970c6b5cebcc2892a7 (patch)
tree92d32e23a29bf3b2c7063ddc730c7c66b5b5f4d6 /src/code/main.c
parent1ec875f6dccf7efd9d637cd27a1a500f35eed43e (diff)
Docs Cleanup (#1153)
* sysheap * Gorons * Update goron comment * functions.h * Update src/boot_O2/system_heap.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * add header * Fix header guards * Update data * Add malloc and free to header --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Diffstat (limited to 'src/code/main.c')
-rw-r--r--src/code/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/code/main.c b/src/code/main.c
index 6eadd591a..186240489 100644
--- a/src/code/main.c
+++ b/src/code/main.c
@@ -8,6 +8,7 @@
#include "buffers.h"
#include "stack.h"
#include "stackcheck.h"
+#include "system_heap.h"
extern OSMesgQueue sSiIntMsgQ;
extern OSMesg sSiIntMsgBuf[1];
@@ -44,7 +45,7 @@ void Main(void* arg) {
sysHeap = gSystemHeap;
fb = 0x80780000;
startHeapSize = fb - sysHeap;
- SystemArena_Init(sysHeap, startHeapSize);
+ SystemHeap_Init(sysHeap, startHeapSize);
Regs_Init();