fix incorrect memory being used with a2600 and retroachievements

This commit is contained in:
CasualPokePlayer 2023-02-09 08:25:58 -08:00
parent 5bdbe110e9
commit a61be6ba2b
1 changed files with 3 additions and 1 deletions

View File

@ -370,7 +370,6 @@ namespace BizHawk.Client.EmuHawk
{
[ConsoleID.MasterSystem] = new[] { (0xC000, 0x2000) },
[ConsoleID.GameGear] = new[] { (0xC000, 0x2000) },
[ConsoleID.Atari2600] = new[] { (0, 0x80) },
[ConsoleID.Colecovision] = new[] { (0x6000, 0x400) },
[ConsoleID.GBA] = new[] { (0x3000000, 0x8000), (0x2000000, 0x40000) },
[ConsoleID.SG1000] = new[] { (0xC000, 0x2000), (0x2000, 0x2000), (0x8000, 0x2000) },
@ -495,6 +494,9 @@ namespace BizHawk.Client.EmuHawk
mfs.Add(new(domains["CPU RAM"], 0, domains["CPU RAM"].Size));
mfs.Add(new(domains["Main RAM"], 0, domains["Main RAM"].Size));
break;
case ConsoleID.Atari2600:
mfs.Add(new(domains["Main RAM"], 0, domains["Main RAM"].Size));
break;
case ConsoleID.VirtualBoy:
// todo: add System Bus so this isn't needed
mfs.Add(new(domains["WRAM"], 0, domains["WRAM"].Size));