Code cleanup

This commit is contained in:
Ethan Lafrenais 2024-10-30 09:41:35 -04:00
parent 443c3859e4
commit 7449fad4bb
No known key found for this signature in database
GPG key ID: 928A0136009E2745
3 changed files with 39 additions and 29 deletions

View file

@ -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 {