From 3f6944de549d69e12d0cc2bb53cc9c8b5476d1b8 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 11 Jul 2018 22:21:35 -0400 Subject: [PATCH] Corrects custom info block parsing. --- Storage/Tape/Formats/TZX.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Storage/Tape/Formats/TZX.cpp b/Storage/Tape/Formats/TZX.cpp index f23ae936c..ee8230759 100644 --- a/Storage/Tape/Formats/TZX.cpp +++ b/Storage/Tape/Formats/TZX.cpp @@ -455,8 +455,7 @@ void TZX::ignore_stop_tape_if_in_48kb_mode() { } void TZX::ignore_custom_info_block() { - // TODO: enquire about this; the TZX documentation is ambiguous as to whether this is really 10, or 0x10. - file_.seek(10, SEEK_CUR); + file_.seek(0x10, SEEK_CUR); uint32_t length = file_.get32le(); file_.seek(length, SEEK_CUR); }