mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-01 11:49:58 +00:00
Merge pull request #494 from TomHarte/CustomInfoBlock
Corrects TZX custom info block parsing.
This commit is contained in:
commit
94f68f9d55
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user