AxibugEmuOnline/AxibugEmuOnline.Client/Assets/MyNes.Core/SRAMBankInfo.cs
2024-07-03 18:22:22 +08:00

23 lines
374 B
C#

namespace MyNes.Core
{
public struct SRAMBankInfo
{
public int id;
public string SIZE;
public bool BATTERY;
public SRAMBankInfo(int id, string SIZE, bool BATTERY)
{
this.SIZE = SIZE;
if (SIZE == "0kb")
{
SIZE = "8kb";
}
this.BATTERY = BATTERY;
this.id = id;
}
}
}