diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Namcot175_340.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Namcot175_340.cs index 8e747602c7..a0417507fe 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Namcot175_340.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Namcot175_340.cs @@ -133,5 +133,18 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES { return ROM[addr & 0x1fff | prg[addr >> 13] << 13]; } + + public override void WriteWRAM(int addr, byte value) + { + if (wramenable) + base.WriteWRAM(addr, value); + } + public override byte ReadWRAM(int addr) + { + if (wramenable) + return base.ReadWRAM(addr); + else + return NES.DB; + } } }