Mario Kart 64
hardcoded_segments.h
Go to the documentation of this file.
1 #ifndef HARDCODED_SEGMENTS_H
2 #define HARDCODED_SEGMENTS_H
3 
8 #define SEG_START 0x80000000
9 #define SEG_MAIN 0x80000400
10 
11 #ifdef AVOID_UB
12  // addr need to be manually updated when game is shifted
13  #define SEG_ENDING_SEQUENCES 0x80280000
14  #define SEG_RACING 0x8028DF00
15  #define SEG_802BA370 0x802BA370
16 #else
17  #define SEG_ENDING_SEQUENCES 0x80280000
18  #define SEG_RACING 0x8028DF00
19  #define SEG_FRAMEBUFFERS 0x802BA290
20  #define SEG_802BA370 0x802BA370 // 0x802BA370
21  #define SEG_AUDIO 0x803AF780
22 #endif // AVOID_UB
23 
24 
25 #endif /* HARDCODED_SEGMENTS_H */