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

16 lines
332 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("CNROM", 3)]
internal class Mapper003 : Board
{
private byte data_temp;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
internal override void WritePRG(ref ushort address, ref byte data)
{
ReadPRG(ref address, out data_temp);
data_temp &= data;
Switch08KCHR(data_temp);
}
}
2024-07-03 15:40:13 +08:00
}