ZXHawk: block index is now set to 0 when switching tapes - #1158
This commit is contained in:
parent
45c37ddc47
commit
a4942f0fb8
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue