Splitting Assets from Code: Difference between revisions

m
Fixed a minor mistake in the Specfile section
(Finished Specfile section)
m (Fixed a minor mistake in the Specfile section)
Line 48:
extern u8 _spr_bearSegmentRomEnd[];
</pre>
Remember that segment name I told you that was important and had to be unique? Whatever you set your segment name to, it needs to match the <code>extern</code>'s. Meaning, if you called your segment <code>NAME</code>, then you would need to define the <code>extern</code>'s as <code>_NAMESegmentRomStart</code> and <code>_NAMESegmentRomStart_NAMESegmentRomEnd</code> respectively.
 
If you want to know more about Spec files, the online manuals do not contain a lot of information about them. Instead, it is highly recommended that you check out the '''Specfile Format''' chapter of the ''N64 EXEGCC Compiler User Guide'' for more information.