Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/BizHawk.Emulation.Cores/Consoles/Atari/2600/Tia/Tia.PlayfieldData.cs
2 views
using BizHawk.Common;

namespace BizHawk.Emulation.Cores.Atari.Atari2600
{
	public partial class TIA
	{
		private struct PlayfieldData
		{
			public uint Grp;
			public byte PfColor;
			public byte BkColor;
			public bool Reflect;
			public bool Score;
			public bool Priority;

			public void SyncState(Serializer ser)
			{
				ser.BeginSection("PlayField");
				ser.Sync("grp", ref Grp);
				ser.Sync("pfColor", ref PfColor);
				ser.Sync("bkColor", ref BkColor);
				ser.Sync("reflect", ref Reflect);
				ser.Sync("score", ref Score);
				ser.Sync("priority", ref Priority);
				ser.EndSection();
			}
		}
	}
}