Files
SpaghettiKart/include/hardcoded_segments.h
T
MegaMech 2b74bbbcef Doc setup_game_memory, label syms, add osSyncPrintf support, match funcs (#444)
* Doc setup_game_memory and label syms

* match func_800132F4

* match func label defines

* fix some fake ptrs

* match more code

* Matches

* Add osSyncPrintf support and matches

* Add func equiv to draw_square and add comment to is_debug
2023-10-06 00:19:09 -06:00

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 */