mirror of
https://github.com/Maschell/GhidraRPXLoader.git
synced 2024-11-23 00:29:15 +01:00
Minor code cleanup
This commit is contained in:
parent
6d487f56c5
commit
1fca6ebc8f
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user