| 121 | } |
| 122 | |
| 123 | static inline uint32_t round_up_4(uint32_t value) { |
| 124 | return (value + 3) & (~3); |
| 125 | } |
| 126 | |
| 127 | bool parse_v1(std::span<const char> data, const std::unordered_map<uint32_t, uint16_t>& sections_by_vrom, N64Recomp::Context& mod_context) { |
| 128 | size_t offset = sizeof(FileHeader); |