You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
SS2: add helpful mainseg assert, remove extraneous commented asserts
This commit is contained in:
5
sm64.ld
5
sm64.ld
@@ -190,6 +190,7 @@ SECTIONS
|
|||||||
lib/PR/hvqm/hvqm2sp1.o(.rodata*);
|
lib/PR/hvqm/hvqm2sp1.o(.rodata*);
|
||||||
}
|
}
|
||||||
END_SEG(main)
|
END_SEG(main)
|
||||||
|
ASSERT((_mainSegmentRomEnd <= 0x101000), "Error: Please shrink your main segment to under 1MB.")
|
||||||
BEGIN_NOLOAD(main)
|
BEGIN_NOLOAD(main)
|
||||||
{
|
{
|
||||||
BUILD_DIR/src/game*.o(.*bss*);
|
BUILD_DIR/src/game*.o(.*bss*);
|
||||||
@@ -215,8 +216,6 @@ SECTIONS
|
|||||||
}
|
}
|
||||||
END_NOLOAD(main)
|
END_NOLOAD(main)
|
||||||
|
|
||||||
/*ASSERT((. <= SEG_ENGINE), "Error: main segment extended into engine.")*/
|
|
||||||
|
|
||||||
. = _mainSegmentBssEnd;
|
. = _mainSegmentBssEnd;
|
||||||
|
|
||||||
BEGIN_SEG(engine, .)
|
BEGIN_SEG(engine, .)
|
||||||
@@ -236,8 +235,6 @@ SECTIONS
|
|||||||
}
|
}
|
||||||
END_NOLOAD(engine)
|
END_NOLOAD(engine)
|
||||||
|
|
||||||
/*ASSERT((. <= SEG_FRAMEBUFFERS), "Error: engine segment extended into framebuffers.")*/
|
|
||||||
|
|
||||||
. = _engineSegmentBssEnd;
|
. = _engineSegmentBssEnd;
|
||||||
BEGIN_NOLOAD(framebuffers)
|
BEGIN_NOLOAD(framebuffers)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user