AxibugEmuOnline/OtherCore/MyNes.Standard2/MyNes.Core/Mapper003.cs

16 lines
317 B
C#
Raw Permalink Normal View History

2024-07-24 15:03:33 +08:00
namespace MyNes.Core
{
[BoardInfo("CNROM", 3)]
internal class Mapper003 : Board
{
private byte data_temp;
internal override void WritePRG(ref ushort address, ref byte data)
{
ReadPRG(ref address, out data_temp);
data_temp &= data;
Switch08KCHR(data_temp);
}
}
}