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

13 lines
353 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("Unknown", 242)]
internal class Mapper242 : Board
{
internal override void WritePRG(ref ushort address, ref byte data)
{
Switch32KPRG((address >> 3) & 0xF, PRGArea.Area8000);
Switch01KNMTFromMirroring(((address & 2) == 2) ? Mirroring.Horz : Mirroring.Vert);
}
}
2024-07-03 15:40:13 +08:00
}