atari 7800 - make a few memory domains explicitly read-only instead of silently failing on write

This commit is contained in:
adelikat 2015-01-27 00:54:11 +00:00
parent f4664bba9b
commit e195004433
1 changed files with 6 additions and 6 deletions

View File

@ -59,9 +59,9 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800
{
return bios[addr];
},
delegate(long addr, byte val)
{
}));
null
));
if (hsc7800 != null)
{
_MemoryDomains.Add(new MemoryDomain(
@ -70,9 +70,8 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800
{
return hsbios[addr];
},
delegate(long addr, byte val)
{
}));
null));
_MemoryDomains.Add(new MemoryDomain(
"HSC RAM", hsram.Length, MemoryDomain.Endian.Unknown,
delegate(long addr)
@ -84,6 +83,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800
hsram[addr] = val;
}));
}
_MemoryDomains.Add(new MemoryDomain(
"System Bus", 65536, MemoryDomain.Endian.Unknown,
delegate(long addr)