NES VRC1: Don't change savestate if not in VS mode
This commit is contained in:
parent
b763b29297
commit
9632ceb7fc
|
@ -32,6 +32,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
||||||
base.SyncState(ser);
|
base.SyncState(ser);
|
||||||
ser.Sync("prg_banks_8k", ref prg_banks_8k);
|
ser.Sync("prg_banks_8k", ref prg_banks_8k);
|
||||||
ser.Sync("chr_banks_4k", ref chr_banks_4k);
|
ser.Sync("chr_banks_4k", ref chr_banks_4k);
|
||||||
|
if (NES.IsVS)
|
||||||
ser.Sync("VS_CIRAM", ref CIRAM_VS, false);
|
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]);
|
for (int i = 0; i < 2; i++) ser.Sync("chr_regs_4k_" + i, ref chr_regs_4k[i]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue