1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-19 08:31:11 +00:00

Corrects custom info block parsing.

This commit is contained in:
Thomas Harte 2018-07-11 22:21:35 -04:00
parent 774d8668bf
commit 3f6944de54

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);
} }