1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-29 12:50:28 +00:00

Merge pull request #494 from TomHarte/CustomInfoBlock

Corrects TZX custom info block parsing.
This commit is contained in:
Thomas Harte 2018-07-11 22:22:49 -04:00 committed by GitHub
commit 94f68f9d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -455,8 +455,7 @@ void TZX::ignore_stop_tape_if_in_48kb_mode() {
} }
void TZX::ignore_custom_info_block() { 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(0x10, SEEK_CUR);
file_.seek(10, SEEK_CUR);
uint32_t length = file_.get32le(); uint32_t length = file_.get32le();
file_.seek(length, SEEK_CUR); file_.seek(length, SEEK_CUR);
} }