nes: fix r2299
This commit is contained in:
parent
c08183f082
commit
c8459c1296
|
@ -187,7 +187,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
||||||
public virtual void WriteWRAM(int addr, byte value)
|
public virtual void WriteWRAM(int addr, byte value)
|
||||||
{
|
{
|
||||||
if(wram != null)
|
if(wram != null)
|
||||||
wram[addr] = value;
|
wram[addr & wram_mask] = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
private int wram_mask;
|
private int wram_mask;
|
||||||
|
|
Loading…
Reference in New Issue