From 9632ceb7fc440c685da45d8305a2988499b35cd7 Mon Sep 17 00:00:00 2001 From: nattthebear Date: Sun, 30 Oct 2016 12:28:21 -0400 Subject: [PATCH] NES VRC1: Don't change savestate if not in VS mode --- BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC1.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC1.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC1.cs index d40a56b401..85e89842dd 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC1.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/VRC1.cs @@ -32,7 +32,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES base.SyncState(ser); ser.Sync("prg_banks_8k", ref prg_banks_8k); ser.Sync("chr_banks_4k", ref chr_banks_4k); - ser.Sync("VS_CIRAM", ref CIRAM_VS, false); + if (NES.IsVS) + ser.Sync("VS_CIRAM", ref CIRAM_VS, false); for (int i = 0; i < 2; i++) ser.Sync("chr_regs_4k_" + i, ref chr_regs_4k[i]); if (ser.IsReader)