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)); } } }