ZXHawk: block index is now set to 0 when switching tapes - #1158

This commit is contained in:
Asnivor 2018-05-08 21:29:01 +01:00
parent 45c37ddc47
commit a4942f0fb8
1 changed files with 4 additions and 0 deletions

View File

@ -331,6 +331,8 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
try try
{ {
tzxSer.Read(tapeData); tzxSer.Read(tapeData);
// reset block index
CurrentDataBlockIndex = 0;
return; return;
} }
catch (Exception ex) catch (Exception ex)
@ -347,6 +349,8 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
try try
{ {
tapSer.Read(tapeData); tapSer.Read(tapeData);
// reset block index
CurrentDataBlockIndex = 0;
return; return;
} }
catch (Exception ex) catch (Exception ex)