Add missing variables to Stella states

This commit is contained in:
CasualPokePlayer 2024-09-16 00:40:02 -07:00
parent 18a7b32c8d
commit 5b74211460
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,8 @@ namespace BizHawk.Emulation.Cores.Atari.Stella
{
_elf.LoadStateBinary(reader);
// other variables
_leftDifficultyToggled = reader.ReadBoolean();
_rightDifficultyToggled = reader.ReadBoolean();
Frame = reader.ReadInt32();
LagCount = reader.ReadInt32();
IsLagFrame = reader.ReadBoolean();
@ -23,6 +25,8 @@ namespace BizHawk.Emulation.Cores.Atari.Stella
{
_elf.SaveStateBinary(writer);
// other variables
writer.Write(_leftDifficultyToggled);
writer.Write(_rightDifficultyToggled);
writer.Write(Frame);
writer.Write(LagCount);
writer.Write(IsLagFrame);