todo: N64 - learn to spell, fix cheats not defaulting to the system bus

This commit is contained in:
adelikat 2015-01-12 23:38:31 +00:00
parent 21f5209726
commit 815cf4ab97
1 changed files with 9 additions and 8 deletions

View File

@ -120,17 +120,18 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64
Action<int, byte> pokeByte;
peekByte = delegate(int addr)
{
return api.m64p_read_memory_8((uint)addr);
};
pokeByte = delegate(int addr, byte val)
{
api.m64p_write_memory_8((uint)addr, val);
};
{
return api.m64p_read_memory_8((uint)addr);
};
pokeByte = delegate(int addr, byte val)
{
api.m64p_write_memory_8((uint)addr, val);
};
_memoryDomains.Add(new MemoryDomain
(
name: "Sytem Bus",
name: "System Bus",
size: 0, //special case for full 32bit memorydomain
endian: MemoryDomain.Endian.Big,
peekByte: peekByte,