AxibugEmuOnline/AxibugEmuOnline.Client/Assets/MyNes.Core/Mapper007.cs
2024-07-03 18:22:22 +08:00

13 lines
336 B
C#

namespace MyNes.Core
{
[BoardInfo("AxROM", 7)]
internal class Mapper007 : Board
{
internal override void WritePRG(ref ushort addr, ref byte val)
{
Switch01KNMTFromMirroring(((val & 0x10) == 16) ? Mirroring.OneScB : Mirroring.OneScA);
Switch32KPRG(val & 7, PRGArea.Area8000);
}
}
}