mirror of https://github.com/n64decomp/mk64.git
26 lines
616 B
C
26 lines
616 B
C
#ifndef HARDCODED_SEGMENTS_H
|
|
#define HARDCODED_SEGMENTS_H
|
|
|
|
/**
|
|
* Only used in the linker.
|
|
**/
|
|
|
|
#define SEG_START 0x80000000
|
|
#define SEG_MAIN 0x80000400
|
|
|
|
#ifdef AVOID_UB
|
|
// addr need to be manually updated when game is shifted
|
|
#define SEG_ENDING_SEQUENCES 0x80280000
|
|
#define SEG_RACING 0x8028DF00
|
|
#define SEG_802BA370 0x802BA370
|
|
#else
|
|
#define SEG_ENDING_SEQUENCES 0x80280000
|
|
#define SEG_RACING 0x8028DF00
|
|
#define SEG_FRAMEBUFFERS 0x802BA290
|
|
#define SEG_802BA370 0x802BA370 // 0x802BA370
|
|
#define SEG_AUDIO 0x803AF780
|
|
#endif // AVOID_UB
|
|
|
|
|
|
#endif /* HARDCODED_SEGMENTS_H */
|