quicknes disassembler tweak
This commit is contained in:
parent
e1f59363f2
commit
2f3f7723a0
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue