AxibugEmuOnline/AxibugEmuOnline.Client/Assets/VirtualNes.Core/State/DISKDATA.cs
2024-09-13 17:39:48 +08:00

23 lines
462 B
C#

namespace VirtualNes.Core
{
public struct DISKDATA : IStateBufferObject
{
public int DifferentSize;
public uint GetSize()
{
return sizeof(int);
}
public void SaveState(StateBuffer buffer)
{
buffer.Write(DifferentSize);
}
public void LoadState(StateReader buffer)
{
DifferentSize = buffer.Read_int();
}
}
}