mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-05-20 02:14:55 +00:00
Added some missing float comparison instructions and fixed functions incorrectly getting detected as the entrypoint
This commit is contained in:
parent
9a4f650c9b
commit
72fe4ed79c
2 changed files with 56 additions and 4 deletions
|
@ -661,7 +661,7 @@ bool read_symbols(RecompPort::Context& context, const ELFIO::elfio& elf_file, EL
|
|||
context.functions_by_vram[vram].push_back(context.functions.size());
|
||||
|
||||
// Find the entrypoint by rom address in case it doesn't have vram as its value
|
||||
if (rom_address == 0x1000 && type == ELFIO::STT_FUNC) {
|
||||
if (has_entrypoint && rom_address == 0x1000 && type == ELFIO::STT_FUNC) {
|
||||
vram = entrypoint;
|
||||
found_entrypoint_func = true;
|
||||
name = "recomp_entrypoint";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue