Skip to content

Commit

Permalink
Fixed exceptioning for a code section more than 0x1000 bytes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Kononovich committed Sep 18, 2020
1 parent 94e0b1b commit f581530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/amigahunk/AmigaHunkAnalyzer.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public boolean added(Program program, AddressSetView set, TaskMonitor monitor, M
continue;
}

createFunctionsSegment(fpa, lib, AmigaHunkLoader.getImageBase(imageBaseOffset) + i * 0x1000, funcsList.getFunctionTableByLib(lib), log);
createFunctionsSegment(fpa, lib, AmigaHunkLoader.getImageBase(imageBaseOffset) + i * 0x10000, funcsList.getFunctionTableByLib(lib), log);
}
} catch (InvalidInputException | DuplicateNameException | CodeUnitInsertionException e) {
log.appendException(e);
Expand Down

0 comments on commit f581530

Please sign in to comment.