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

23 lines
441 B
C#
Raw Normal View History

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