SS2: add helpful mainseg assert, remove extraneous commented asserts

This commit is contained in:
someone2639
2021-08-05 15:46:36 -04:00
parent 2ef336f5b8
commit f4d24420a5

View File

@@ -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)
{ {