From 047c505b96287d82dff47c105c909a9965fde9ac Mon Sep 17 00:00:00 2001 From: Tharo <17233964+Thar0@users.noreply.github.com> Date: Thu, 19 Dec 2024 05:38:44 +0000 Subject: Remove gSystemHeap and the system_heap spec segment, use _buffersSegmentEnd to represent the start of the system heap (#1767) --- linker_scripts/final/extra.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linker_scripts') diff --git a/linker_scripts/final/extra.ld b/linker_scripts/final/extra.ld index fddac01c9..74a533edd 100644 --- a/linker_scripts/final/extra.ld +++ b/linker_scripts/final/extra.ld @@ -3,5 +3,5 @@ ENTRY(entrypoint); ASSERT ((_bootSegmentRomEnd <= 0x101000), "Error: _bootSegmentRomEnd is larger than 1 MB"); // TODO: This should be checking for an address a lot earlier than this one. -ASSERT ((_system_heapSegmentStart < 0x80780000), "Error: The game is overflowing the RAM limit for non-overlay segments."); +ASSERT ((_buffersSegmentEnd < 0x80780000), "Error: The game is overflowing the RAM limit for non-overlay segments."); ASSERT ((_framebuffer_hiSegmentStart == 0x80780000), "Error: framebuffer_hi shifted?"); -- cgit v1.2.3