quicknes disassembler tweak

This commit is contained in:
goyuken 2015-01-25 20:06:41 +00:00
parent e1f59363f2
commit 2f3f7723a0
1 changed files with 1 additions and 6 deletions

View File

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