Fix BS93 garbage
Probably. Not sure what this does anymore, but 4 is right and 6 is wrong.
This commit is contained in:
parent
0ea597ded5
commit
cbdcba9643
|
@ -38,7 +38,7 @@ namespace BizHawk.Emulation.Cores.Atari.Lynx
|
||||||
int rot = br.ReadByte();
|
int rot = br.ReadByte();
|
||||||
|
|
||||||
ms.Position = 6;
|
ms.Position = 6;
|
||||||
string bs93 = Encoding.ASCII.GetString(br.ReadBytes(6));
|
string bs93 = Encoding.ASCII.GetString(br.ReadBytes(4));
|
||||||
if (bs93 == "BS93")
|
if (bs93 == "BS93")
|
||||||
{
|
{
|
||||||
throw new InvalidOperationException("Unsupported BS93 Lynx ram image");
|
throw new InvalidOperationException("Unsupported BS93 Lynx ram image");
|
||||||
|
|
Loading…
Reference in New Issue