forked from sin365/AxibugEmuOnline
23 lines
417 B
C#
23 lines
417 B
C#
|
namespace VirtualNes.Core
|
|||
|
{
|
|||
|
public struct EXCTRSTAT : IStateBufferObject
|
|||
|
{
|
|||
|
public uint data;
|
|||
|
|
|||
|
public uint GetSize()
|
|||
|
{
|
|||
|
return sizeof(uint);
|
|||
|
}
|
|||
|
|
|||
|
public void SaveState(StateBuffer buffer)
|
|||
|
{
|
|||
|
buffer.Write(data);
|
|||
|
}
|
|||
|
|
|||
|
public void LoadState(StateReader buffer)
|
|||
|
{
|
|||
|
data = buffer.Read_uint();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|