set C64 retroachievements memory to RAM rather than System Bus

This commit is contained in:
CasualPokePlayer 2024-10-29 06:50:06 -07:00
parent 78cc5393e4
commit cdbb96dfdb
1 changed files with 7 additions and 1 deletions

View File

@ -321,7 +321,7 @@ namespace BizHawk.Client.EmuHawk
// these consoles will use the entire system bus
private static readonly ConsoleID[] UseFullSysBus =
[
ConsoleID.NES, ConsoleID.C64, ConsoleID.AmstradCPC, ConsoleID.Atari7800,
ConsoleID.NES, ConsoleID.AmstradCPC, ConsoleID.Atari7800,
];
// these consoles will use the entire main memory domain
@ -527,6 +527,12 @@ namespace BizHawk.Client.EmuHawk
// todo: make this MainMemory
mfs.Add(new(domains["RAM"], 0, domains["RAM"].Size));
break;
case ConsoleID.C64:
// no, can't use MainMemory here, as System Bus is that due to init ordering
// todo: make this MainMemory
// (yes, it's the same between MSX and C64, not a copypaste error!)
mfs.Add(new(domains["RAM"], 0, domains["RAM"].Size));
break;
case ConsoleID.AppleII:
mfs.Add(new(domains["Main RAM"], 0, domains["Main RAM"].Size));
mfs.Add(new(domains["Auxiliary RAM"], 0, domains["Auxiliary RAM"].Size));