mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-06-01 08:13:14 +00:00
Added CMake build system, fixed warnings on clang, removed VS solution/projects
This commit is contained in:
parent
32841e85b4
commit
0f813247a1
13 changed files with 117 additions and 1062 deletions
|
@ -3,6 +3,7 @@
|
|||
#include <unordered_set>
|
||||
#include <span>
|
||||
#include <filesystem>
|
||||
#include <optional>
|
||||
|
||||
#include "rabbitizer.hpp"
|
||||
#include "elfio/elfio.hpp"
|
||||
|
@ -611,7 +612,8 @@ bool read_symbols(RecompPort::Context& context, const ELFIO::elfio& elf_file, EL
|
|||
std::move(name),
|
||||
0,
|
||||
true,
|
||||
reimplemented
|
||||
reimplemented,
|
||||
false
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -232,6 +232,8 @@ bool process_instruction(const RecompPort::Context& context, const RecompPort::C
|
|||
signed_imm_string = "(int16_t)" + unsigned_imm_string;
|
||||
reloc_handled = true;
|
||||
break;
|
||||
default:
|
||||
throw std::runtime_error(fmt::format("Unexpected reloc type {} in {}\n", static_cast<int>(reloc_type), func.name));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue