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

35 lines
787 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
public abstract class IRom
{
public bool IsValid { get; set; }
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public int PRGCount { get; set; }
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public int CHRCount { get; set; }
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public int MapperNumber { get; set; }
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public Mirroring Mirroring { get; set; }
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public bool HasTrainer { get; set; }
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public byte[] PRG { get; set; }
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public byte[] CHR { get; set; }
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public byte[] Trainer { get; set; }
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public string SHA1 { get; set; }
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public virtual void Load(string fileName, bool loadDumps)
{
}
}
2024-07-03 15:40:13 +08:00
}