fix incorrect constant in cheevo code

This commit is contained in:
CasualPokePlayer 2024-09-04 15:40:53 -07:00
parent 425cafe1e8
commit f67c766469
1 changed files with 1 additions and 1 deletions

View File

@ -566,7 +566,7 @@ namespace BizHawk.Client.EmuHawk
mfs.Add(new ChanFMemFunctions(debuggable, domains["VRAM"])); mfs.Add(new ChanFMemFunctions(debuggable, domains["VRAM"]));
mfs.Add(new(domains.SystemBus, 0, domains.SystemBus.Size)); mfs.Add(new(domains.SystemBus, 0, domains.SystemBus.Size));
// only add in SRAM if it's from HANG/MAZE carts (where SRAM isn't on the System Bus) // only add in SRAM if it's from HANG/MAZE carts (where SRAM isn't on the System Bus)
if (domains.Has("SRAM") && domains["SRAM"].Size == 0x200) if (domains.Has("SRAM") && domains["SRAM"].Size == 0x400)
{ {
mfs.Add(new(domains["SRAM"], 0, domains["SRAM"].Size)); mfs.Add(new(domains["SRAM"], 0, domains["SRAM"].Size));
} }