AxibugEmuOnline/AxibugEmuOnline.Client.Transplant/Assets/VirtualNes.Core/State/EXCTRSTAT.cs

23 lines
419 B
C#
Raw Normal View History

namespace VirtualNes.Core
{
public struct EXCTRSTAT : IStateBufferObject
{
public uint data;
2024-12-20 17:24:09 +08:00
public uint GetSize()
{
return sizeof(uint);
}
2024-12-20 17:24:09 +08:00
public void SaveState(StateBuffer buffer)
{
buffer.Write(data);
}
public void LoadState(StateReader buffer)
{
data = buffer.Read_uint();
}
}
}