Mario Kart 64
Loading...
Searching...
No Matches
segments.h
Go to the documentation of this file.
1#ifndef SEGMENTS_H
2#define SEGMENTS_H
3
4extern u8 _mainSegNoloadEnd[];
5
9
10extern u8 _racingSegmentStart[];
13
15
16
25#define SEG_START 0x80000000
26#define SEG_MAIN 0x80000400
27
28
29#define ENDING_SEQUENCE_SIZE 0xDF00
30#define RACING_SEQUENCE_SIZE 0x2C470
31
32
33#ifdef AVOID_UB
34 #define MEMORY_POOL_END (&_mainSegNoloadEnd[0] + 0xAB630)
35#else
36 #define MEMORY_POOL_END 0x80242F00
37#endif // AVOID_UB
38
39#ifdef AVOID_UB
40 #define SEG_ENDING_SEQUENCES &_endingSequencesSegmentStart
41 #define SEG_RACING &_racingSegmentStart
42 #define SEG_802BA370 &_data_802BA370SegmentStart
43#else
44 #define SEG_ENDING_SEQUENCES 0x80280000
45 #define SEG_RACING 0x8028DF00
46 #define SEG_802BA370 0x802BA370 //0x802BA370
47#endif // AVOID_UB
48
49#define SEG_FRAMEBUFFERS 0x802BA290
50#define SEG_AUDIO 0x803AF780
51
52#endif /* SEGMENTS_H */
u8 _endingSequencesSegmentRomStart[]
u8 _endingSequencesSegmentStart[]
u8 _data_802BA370SegmentStart[]
u8 _endingSequencesSegmentRomEnd[]
u8 _racingSegmentRomStart[]
u8 _mainSegNoloadEnd[]
u8 _racingSegmentRomEnd[]
u8 _racingSegmentStart[]
unsigned char u8
Definition ultratypes.h:12