NESHawk: Mapper 219 savestates

This commit is contained in:
alyosha-tas 2018-04-13 18:09:36 -04:00
parent ee49f147fb
commit 71499e5310
1 changed files with 12 additions and 0 deletions

View File

@ -1,4 +1,5 @@
using System;
using BizHawk.Common;
namespace BizHawk.Emulation.Cores.Nintendo.NES
{
@ -143,5 +144,16 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
else
base.WritePPU(addr, value);
}
public override void SyncState(Serializer ser)
{
ser.Sync("exregs", ref exregs, false);
ser.Sync("prgregs", ref prgregs, false);
ser.Sync("chrregs", ref chrregs, false);
ser.Sync("bits_rev", ref bits_rev);
ser.Sync("reg_value", ref reg_value);
base.SyncState(ser);
}
}
}