neshawk - fix poking wram (fixes ancillary unrelated issue in #1994)

This commit is contained in:
zeromus 2020-05-10 20:59:40 -04:00
parent 5082283204
commit 453baebdcc
1 changed files with 8 additions and 0 deletions

View File

@ -841,6 +841,14 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
{
WriteReg(addr, value);
}
else if (addr < 0x6000)
{
//let's ignore pokes to EXP until someone asks for it. there's really almost no way that could ever be done without the board having a PokeEXP method
}
else if (addr < 0x8000)
{
Board.WriteWram(addr - 0x6000, value);
}
else
{
// apply a cheat to non-writable memory