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

17 lines
477 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("Sachen/Hacker/Nina", 113)]
internal class Mapper113 : Board
{
internal override void WriteEX(ref ushort address, ref byte data)
{
if ((address & 0x4100) == 16640)
{
Switch08KCHR((data & 7) | ((data & 0x40) >> 3));
Switch32KPRG((data >> 3) & 7, PRGArea.Area8000);
Switch01KNMTFromMirroring(((data & 0x80) == 128) ? Mirroring.Vert : Mirroring.Horz);
}
}
}
2024-07-03 15:40:13 +08:00
}