From 2f3f7723a0c36dbba306f5cc80f1b3bc9acd5874 Mon Sep 17 00:00:00 2001 From: goyuken Date: Sun, 25 Jan 2015 20:06:41 +0000 Subject: [PATCH] quicknes disassembler tweak --- .../Consoles/Nintendo/QuickNES/QuickNES.IDisassembler.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/QuickNES.IDisassembler.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/QuickNES.IDisassembler.cs index 045e4028ad..1a202fee25 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/QuickNES.IDisassembler.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/QuickNES.IDisassembler.cs @@ -32,12 +32,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES public string Disassemble(MemoryDomain m, uint addr, out int length) { - return MOS6502X.Disassemble((ushort)addr, out length, PeekSystemBus); - } - - private byte PeekSystemBus(ushort addr) - { - return _memoryDomains.SystemBus.PeekByte(addr); + return MOS6502X.Disassemble((ushort)addr, out length, (a) => m.PeekByte(a)); } } }