AxibugEmuOnline/AxibugEmuOnline.Client.Transplant/Assets/VirtualNes.Core/Mapper/Mapper194.cs

28 lines
666 B
C#
Raw Normal View History

////////////////////////////////////////////
// Mapper194 迷宮寺院ダババ //
//////////////////////////////////////////////////////////////////////////
using static VirtualNes.MMU;
namespace VirtualNes.Core
{
public class Mapper194 : Mapper
{
public Mapper194(NES parent) : base(parent)
{
}
public override void Reset()
{
SetPROM_32K_Bank(PROM_32K_SIZE - 1);
}
//void Mapper194::Write(WORD addr, BYTE data)
public override void Write(ushort addr, byte data)
{
SetPROM_8K_Bank(3, data);
}
}
}