A7800 - oops, fix a bug in pokebyte when I merged ram1 and ram2 into the ram domain

This commit is contained in:
adelikat 2015-01-27 23:08:06 +00:00
parent d61f1dd058
commit 36e4ceca93
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800
} }
else if (addr < 0x800) else if (addr < 0x800)
{ {
((Machine7800)theMachine).RAM1[(ushort)addr] = val; ((Machine7800)theMachine).RAM1[(ushort)(addr & 0x800)] = val;
} }
else else
{ {