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

13 lines
336 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
[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);
}
}
2024-07-03 15:40:13 +08:00
}