Skip to content

Commit

Permalink
tap: rename block_type to type
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcook committed Aug 6, 2024
1 parent 7816fe1 commit e345528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion format/tzx/tzx.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ func decodeBlock(d *decode.D) {
},
}

blockType := d.FieldU8("block_type", blockTypeMapper)
blockType := d.FieldU8("type", blockTypeMapper)

// Deprecated block types: C64RomType, C64TurboData, EmulationInfo, Snapshot
if blockType == 0x16 || blockType == 0x17 || blockType == 0x34 || blockType == 0x40 {
Expand Down

0 comments on commit e345528

Please sign in to comment.