summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorGaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>2022-04-02 13:47:22 +0200
committerNicholas Estelami <NEstelami@users.noreply.github.com>2022-04-11 15:44:01 -0400
commit9a7c63c46cfcb3531c8ae1c0a555b4978556537f (patch)
tree78472d8cc7cabfee5531abf38992db44c574c4e5 /soh/src/code
parent06fd7f662af4358e9a6111270ce0cd311a9af9ea (diff)
Allocate aligned heaps
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/soh/src/code/main.c b/soh/src/code/main.c
index eaaa7b388..0680aad3e 100644
--- a/soh/src/code/main.c
+++ b/soh/src/code/main.c
@@ -63,6 +63,7 @@ void Main(void* arg) {
PreNmiBuff_Init(gAppNmiBufferPtr);
Fault_Init();
SysCfb_Init(0);
+ Heaps_Alloc();
sysHeap = gSystemHeap;
fb = SysCfb_GetFbPtr(0);
gSystemHeapSize = 1024 * 1024 * 4;
@@ -131,4 +132,6 @@ void Main(void* arg) {
osDestroyThread(&sGraphThread);
func_800FBFD8();
osSyncPrintf("mainproc 実行終了\n"); // "End of execution"
+
+ Heaps_Free();
}