diff --git a/src/main/java/de/mas/ghidra/wiiu/RPXUtils.java b/src/main/java/de/mas/ghidra/wiiu/RPXUtils.java index 760952f..2169c95 100644 --- a/src/main/java/de/mas/ghidra/wiiu/RPXUtils.java +++ b/src/main/java/de/mas/ghidra/wiiu/RPXUtils.java @@ -157,8 +157,7 @@ public class RPXUtils { // Hacky way to fix import relocations if (h.getType() == SHT_RPL_IMPORTS) { - long fixedAddress = 0; - buffer.putInt((int) fixedAddress); + buffer.putInt(0); } else { buffer.putInt((int) h.getAddress()); }