mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-14 14:08:01 -04:00
Remove gSystemHeap and the system_heap spec segment, use _buffersSegmentEnd to represent the start of the system heap (#1767)
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ void Main(void* arg) {
|
||||
Check_RegionIsSupported();
|
||||
Check_ExpansionPak();
|
||||
|
||||
sysHeap = (uintptr_t)SEGMENT_START(system_heap);
|
||||
sysHeap = (uintptr_t)SEGMENT_END(buffers);
|
||||
fb = FRAMEBUFFERS_START_ADDR;
|
||||
gSystemHeapSize = fb - sysHeap;
|
||||
SystemHeap_Init((void*)sysHeap, gSystemHeapSize);
|
||||
|
||||
Reference in New Issue
Block a user