MyNes_src/Core/MyNes.Core/BankInfo.cs

27 lines
433 B
C#
Raw Normal View History

2024-07-03 18:15:19 +08:00
namespace MyNes.Core;
internal struct BankInfo
{
public bool IsRAM;
public bool Enabled;
public bool Writable;
public bool IsBattery;
public string ID;
public byte[] DATA;
public BankInfo(string ID, bool IsRAM, bool Writable, bool Enabled, bool IsBattery, byte[] DATA)
{
this.ID = ID;
this.IsRAM = IsRAM;
this.Writable = Writable;
this.Enabled = Enabled;
this.DATA = DATA;
this.IsBattery = IsBattery;
}
}