ZXHawk: Fixed TZX block ID 0x33 deserialization (was causing some games to not be parsed properly)

This commit is contained in:
Asnivor 2018-03-22 17:06:52 +00:00
parent bdbfc3fb4e
commit da71addddd
1 changed files with 10 additions and 5 deletions

View File

@ -1274,14 +1274,19 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
t.PauseInMS = 0;
_position += 2;
int blockLen = GetWordValue(data, 0);
// first byte contains number of HWINFOs
int infos = data[_position];
_position += 1;
// now starts the HW infos (each block 3 bytes)
for (int i = 0; i < infos; i++)
{
_position += 3;
}
// add to tape
_datacorder.DataBlocks.Add(t);
// advance to next block
_position += blockLen;
}
#endregion