diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Mapper132.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Mapper132.cs index fa96a15634..52262fb360 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Mapper132.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Mapper132.cs @@ -6,6 +6,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES // specs pulled from Nintendulator sources public sealed class Mapper132 : NES.NESBoardBase { + private ByteBuffer reg = new ByteBuffer(4); + //configuraton int prg_mask, chr_mask; //state @@ -33,8 +35,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES return true; } - public byte[] reg = new byte [4]; - public void sync() { @@ -89,6 +89,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES ser.Sync("chr", ref chr); ser.Sync("prg", ref prg); ser.Sync("is173", ref is173); + ser.Sync("reg", ref reg); } }