SMS - slight fix to how islag is saved into savestates

This commit is contained in:
adelikat 2012-11-24 14:19:59 +00:00
parent f7032a1c33
commit 6660ac3e8e
1 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ namespace BizHawk.Emulation.Consoles.Sega
writer.WriteLine("Frame {0}", Frame);
writer.WriteLine("Lag {0}", _lagcount);
writer.WriteLine("IsLagFrame {0}", islag);
writer.WriteLine("IsLag {0}", islag);
writer.WriteLine("Bank0 {0}", RomBank0);
writer.WriteLine("Bank1 {0}", RomBank1);
writer.WriteLine("Bank2 {0}", RomBank2);
@ -263,7 +263,7 @@ namespace BizHawk.Emulation.Consoles.Sega
Frame = int.Parse(args[1]);
else if (args[0] == "Lag")
_lagcount = int.Parse(args[1]);
else if (args[0] == "IsLagFrame")
else if (args[0] == "IsLag")
islag = bool.Parse(args[1]);
else if (args[0] == "RAM")
SystemRam.ReadFromHex(args[1]);