mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-05-19 09:54:53 +00:00
Code cleanup
This commit is contained in:
parent
443c3859e4
commit
7449fad4bb
3 changed files with 39 additions and 29 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <filesystem>
|
||||
#include <optional>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
inline uint32_t byteswap(uint32_t val) {
|
||||
|
@ -86,7 +87,7 @@ namespace N64Recomp {
|
|||
bool executable = false;
|
||||
bool relocatable = false; // TODO is this needed? relocs being non-empty should be an equivalent check.
|
||||
bool has_mips32_relocs = false;
|
||||
uint32_t gp_ram_addr = 0;
|
||||
std::optional<uint32_t> gp_ram_addr = std::nullopt;
|
||||
};
|
||||
|
||||
struct ReferenceSection {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue