GP-0 Fix for minor instruction length override regression

This commit is contained in:
emteere 2025-05-09 14:06:32 +00:00
parent acf3e49928
commit c58647b7d2

View file

@ -938,7 +938,7 @@ public class InstructionDB extends CodeUnitDB implements Instruction, Instructio
FlowType myFlowType = getFlowType(); // getFlowType will validate FlowType myFlowType = getFlowType(); // getFlowType will validate
if (myFlowType.hasFallthrough()) { if (myFlowType.hasFallthrough()) {
try { try {
return address.addNoWrap(getDefaultFallThroughOffset()); return getAddress().addNoWrap(proto.getFallThroughOffset(this));
} }
catch (AddressOverflowException e) { catch (AddressOverflowException e) {
// ignore // ignore