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

30 lines
585 B
C#
Raw Normal View History

2024-07-03 18:22:22 +08:00
namespace MyNes.Core
2024-07-03 18:15:28 +08:00
{
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
}