NESHawk: Mapper 219 savestates
This commit is contained in:
parent
ee49f147fb
commit
71499e5310
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue