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

16 lines
372 B
C#

namespace MyNes.Core
{
[BoardInfo("Jaleco Early Mapper 2", 86)]
internal class Mapper086 : Board
{
internal override void WriteSRM(ref ushort address, ref byte data)
{
if (address < 28672)
{
Switch32KPRG((data >> 4) & 3, PRGArea.Area8000);
Switch08KCHR((data & 7) | ((data >> 4) & 4));
}
}
}
}