mirror of
https://github.com/cemu-project/GhidraRPXLoader.git
synced 2024-11-25 18:46:56 +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
|
// Hacky way to fix import relocations
|
||||||
if (h.getType() == SHT_RPL_IMPORTS) {
|
if (h.getType() == SHT_RPL_IMPORTS) {
|
||||||
long fixedAddress = 0;
|
buffer.putInt(0);
|
||||||
buffer.putInt((int) fixedAddress);
|
|
||||||
} else {
|
} else {
|
||||||
buffer.putInt((int) h.getAddress());
|
buffer.putInt((int) h.getAddress());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user