From 5b74211460814a6506cacba9082d5695c8f9f7d8 Mon Sep 17 00:00:00 2001 From: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon, 16 Sep 2024 00:40:02 -0700 Subject: [PATCH] Add missing variables to Stella states --- .../Consoles/Atari/Stella/Stella.IStatable.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Atari/Stella/Stella.IStatable.cs b/src/BizHawk.Emulation.Cores/Consoles/Atari/Stella/Stella.IStatable.cs index 7c6739dcad..3d970b4b32 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Atari/Stella/Stella.IStatable.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Atari/Stella/Stella.IStatable.cs @@ -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);