A7800 - oops, fix a bug in pokebyte when I merged ram1 and ram2 into the ram domain
This commit is contained in:
parent
d61f1dd058
commit
36e4ceca93
|
@ -45,7 +45,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800
|
|||
}
|
||||
else if (addr < 0x800)
|
||||
{
|
||||
((Machine7800)theMachine).RAM1[(ushort)addr] = val;
|
||||
((Machine7800)theMachine).RAM1[(ushort)(addr & 0x800)] = val;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue