| 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(); |
no outgoing calls
no test coverage detected