mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
Allocate aligned heaps
This commit is contained in:
parent
06fd7f662a
commit
9a7c63c46c
4 changed files with 49 additions and 6 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue