From 815cf4ab978994631b42c8cf2263e283c15a2cf5 Mon Sep 17 00:00:00 2001 From: adelikat Date: Mon, 12 Jan 2015 23:38:31 +0000 Subject: [PATCH] todo: N64 - learn to spell, fix cheats not defaulting to the system bus --- .../Consoles/Nintendo/N64/N64.IMemoryDomains.cs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.IMemoryDomains.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.IMemoryDomains.cs index 250a3facde..29ac280585 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.IMemoryDomains.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.IMemoryDomains.cs @@ -120,17 +120,18 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64 Action 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,