Skip to content

Commit

Permalink
Merge pull request #9 from SuperPupperDoggo/patch-1
Browse files Browse the repository at this point in the history
Absolute offset in comment area of extra ROM banks
  • Loading branch information
Gekkio authored Jan 3, 2021
2 parents 11253cc + 7ca4967 commit 1c2047a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/fi/gekkio/ghidraboy/GameBoyLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ protected boolean loadProgramInto(ByteProvider provider, LoadSpec loadSpec, List
var offset = 0x4000;
var bank = 1;
while (offset < rom.getSize()) {
createInitializedBlock(program, true, "rom" + bank, romX, rom, offset, 0x4000, "", getName(), true, false, true, log);
createInitializedBlock(program, true, "rom" + bank, romX, rom, offset, 0x4000, "Offset " + offset + "in ROM file", getName(), true, false, true, log);
offset += 0x4000;
bank += 1;
}
Expand Down

0 comments on commit 1c2047a

Please sign in to comment.