From c1be105805039582cec573e15a39f35845ae11cd Mon Sep 17 00:00:00 2001 From: Zinfidel Date: Tue, 9 Apr 2024 20:27:31 -0700 Subject: [PATCH] Remove secondary gp set that can misplace it. --- src/main/java/psx/PsxLoader.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/psx/PsxLoader.java b/src/main/java/psx/PsxLoader.java index 47b8034..0d057a4 100644 --- a/src/main/java/psx/PsxLoader.java +++ b/src/main/java/psx/PsxLoader.java @@ -666,8 +666,6 @@ private void createCompilerSegments(ByteProvider provider, FlatProgramAPI fpa, A _sdata_block.setWrite(true); _sdata_block.setExecute(false); - setGpBase(program, _sdata_addr.getOffset()); - Address _sbss_addr = fpa.toAddr((sbss1.getUnsignedValue() << 16) + ((Scalar)(sbss2[0])).getSignedValue()); MemoryBlock _sbss_block = mem.getBlock(_sbss_addr);