MCPcopy Create free account
hub / github.com/N64Recomp/N64Recomp / get_reference_section_rom

Method get_reference_section_rom

include/recompiler/context.h:563–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561 }
562
563 uint32_t get_reference_section_rom(uint16_t section_index) const {
564 if (section_index == N64Recomp::SectionAbsolute) {
565 return (uint32_t)-1;
566 }
567 else if (!is_regular_reference_section(section_index)) {
568 return (uint32_t)-1;
569 }
570 else {
571 return reference_sections[section_index].rom_addr;
572 }
573 }
574
575 size_t num_reference_sections() const {
576 return reference_sections.size();

Callers 2

symbols_to_bin_v1Method · 0.80
build_mod_contextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected