Adubbz / Ghidra-Switch-Loader

Nintendo Switch loader for Ghidra
ISC License
285 stars 43 forks source link

Fix compilation errors for 11.0.2+ #54

Closed RootCubed closed 7 months ago

RootCubed commented 7 months ago

Fixes errors caused by https://github.com/NationalSecurityAgency/ghidra/commit/3ead54f0acc46f77a21a6d6f40ed8b08d33968f7.

This is a slightly hacky fix (using typeId() everywhere instead of using the enum), but I don't see a nicer way without restructuring quite a lot because r_type here can be either an AARCH64 or ARM relocation type id.