Skip to content

Commit

Permalink
fix(hex): #62 fix v3 hex parsing if file is in universal hex format
Browse files Browse the repository at this point in the history
  • Loading branch information
kotchourko-itestra committed Nov 19, 2024
1 parent 00b7100 commit 934aa8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Calliope App/Model/Hex/Hex.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ struct HexFile: Hex, Equatable {

parser.parse { address, data, dataType, isUniversal in

if address >= 0x1c000 && address < 0x73000 {
if address >= 0x1c000 && address < 0x73000 && (dataType == 2 || !isUniversal){

if lastAddress > address || lastAddress + 16 < address { // JUMP
partitiones.append((address, Data()))
Expand Down

0 comments on commit 934aa8d

Please sign in to comment.