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

15 lines
430 B
C#

namespace MyNes.Core
{
[BoardInfo("Unknown", 200)]
internal class Mapper200 : Board
{
internal override void WritePRG(ref ushort address, ref byte data)
{
Switch08KCHR(address & 7);
Switch16KPRG(address & 7, PRGArea.Area8000);
Switch16KPRG(address & 7, PRGArea.AreaC000);
Switch01KNMTFromMirroring(((address & 8) == 8) ? Mirroring.Horz : Mirroring.Vert);
}
}
}