AxibugEmuOnline/OtherCore/MyNes.Standard2/MyNes.Core/SRAMBankInfo.cs

23 lines
352 B
C#
Raw Normal View History

2024-07-24 15:03:33 +08:00
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;
}
}
}