mirror of
https://github.com/n64decomp/mk64
synced 2026-07-11 13:48:45 -04:00
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
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#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 */
|
||||
Reference in New Issue
Block a user