mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-05-28 22:33:15 +00:00
Add manual patch symbols (syms.ld) to the output overlay file and relocs
This commit is contained in:
parent
bccc4990b4
commit
3a37b4503d
3 changed files with 44 additions and 11 deletions
|
@ -565,6 +565,12 @@ namespace N64Recomp {
|
|||
void set_all_reference_sections_relocatable() {
|
||||
all_reference_sections_relocatable = true;
|
||||
}
|
||||
|
||||
bool is_manual_patch_symbol(uint32_t vram) const {
|
||||
// Zero-sized symbols between 0x8F000000 and 0x90000000 are manually specified symbols for use with patches.
|
||||
// TODO make this configurable or come up with a more sensible solution for dealing with manual symbols for patches.
|
||||
return vram >= 0x8F000000 && vram < 0x90000000;
|
||||
}
|
||||
};
|
||||
|
||||
class Generator;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue