atari 7800 - make a few memory domains explicitly read-only instead of silently failing on write
This commit is contained in:
parent
f4664bba9b
commit
e195004433
|
@ -59,9 +59,9 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800
|
||||||
{
|
{
|
||||||
return bios[addr];
|
return bios[addr];
|
||||||
},
|
},
|
||||||
delegate(long addr, byte val)
|
null
|
||||||
{
|
));
|
||||||
}));
|
|
||||||
if (hsc7800 != null)
|
if (hsc7800 != null)
|
||||||
{
|
{
|
||||||
_MemoryDomains.Add(new MemoryDomain(
|
_MemoryDomains.Add(new MemoryDomain(
|
||||||
|
@ -70,9 +70,8 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800
|
||||||
{
|
{
|
||||||
return hsbios[addr];
|
return hsbios[addr];
|
||||||
},
|
},
|
||||||
delegate(long addr, byte val)
|
null));
|
||||||
{
|
|
||||||
}));
|
|
||||||
_MemoryDomains.Add(new MemoryDomain(
|
_MemoryDomains.Add(new MemoryDomain(
|
||||||
"HSC RAM", hsram.Length, MemoryDomain.Endian.Unknown,
|
"HSC RAM", hsram.Length, MemoryDomain.Endian.Unknown,
|
||||||
delegate(long addr)
|
delegate(long addr)
|
||||||
|
@ -84,6 +83,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800
|
||||||
hsram[addr] = val;
|
hsram[addr] = val;
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
_MemoryDomains.Add(new MemoryDomain(
|
_MemoryDomains.Add(new MemoryDomain(
|
||||||
"System Bus", 65536, MemoryDomain.Endian.Unknown,
|
"System Bus", 65536, MemoryDomain.Endian.Unknown,
|
||||||
delegate(long addr)
|
delegate(long addr)
|
||||||
|
|
Loading…
Reference in New Issue