summaryrefslogtreecommitdiff
path: root/linker_scripts
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2024-12-19 05:38:44 +0000
committerGitHub <noreply@github.com>2024-12-19 16:38:44 +1100
commit047c505b96287d82dff47c105c909a9965fde9ac (patch)
treeca84ac841df9db19cb293359e62de2f66d05f20d /linker_scripts
parent5d4931787665b6dfcbf350ac48e3d6687bfc7685 (diff)
Remove gSystemHeap and the system_heap spec segment, use _buffersSegmentEnd to represent the start of the system heap (#1767)
Diffstat (limited to 'linker_scripts')
-rw-r--r--linker_scripts/final/extra.ld2
1 files changed, 1 insertions, 1 deletions
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?");