AxibugEmuOnline/AxibugEmuOnline.Client/Assets/MyNes.Core/BankInfo.cs

33 lines
736 B
C#
Raw Normal View History

2024-07-22 13:09:27 +08:00
using Unity.IL2CPP.CompilerServices;
2024-07-03 18:22:22 +08:00
namespace MyNes.Core
2024-07-03 18:15:28 +08:00
{
2024-07-22 13:09:27 +08:00
[Il2CppSetOption(Option.NullChecks, false)]
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
2024-07-03 18:22:22 +08:00
internal struct BankInfo
{
public bool IsRAM;
2024-07-03 15:40:13 +08:00
2024-07-03 18:22:22 +08:00
public bool Enabled;
2024-07-03 15:40:13 +08:00
2024-07-03 18:22:22 +08:00
public bool Writable;
2024-07-03 15:40:13 +08:00
2024-07-03 18:22:22 +08:00
public bool IsBattery;
2024-07-03 15:40:13 +08:00
2024-07-03 18:22:22 +08:00
public string ID;
2024-07-03 15:40:13 +08:00
2024-07-03 18:22:22 +08:00
public byte[] DATA;
2024-07-03 15:40:13 +08:00
2024-07-03 18:22:22 +08:00
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;
}
}
2024-07-03 18:15:28 +08:00
}