OMF format: Fix record name for 32 bit types

This commit is contained in:
Gravelbones
2023-02-20 19:44:06 +01:00
parent e77410ce03
commit 7e2549476e
@@ -246,6 +246,6 @@ public abstract class OmfRecord {
@Override
public String toString() {
return String.format("name: %s, type: 0x%x, offset: 0x%x, length: 0x%x",
getRecordName(recordType), recordType, recordOffset, recordLength);
getRecordName(recordType & 0xfe), recordType, recordOffset, recordLength);
}
}