GPGX trace no longer crashes when executing from M68K RAM.

This commit is contained in:
upthorn 2018-12-05 12:07:53 -08:00
parent 59f30b4a79
commit c50267fe96
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
var regs = DebuggableCore.GetCpuFlagsAndRegisters();
uint pc = (uint)regs["M68K PC"].Value;
var length = 0;
var disasm = Disassembler.Disassemble(MemoryDomains.SystemBus, pc, out length);
var disasm = Disassembler.Disassemble(MemoryDomains.SystemBus, pc & 0xFFFFFF, out length);
var traceInfo = new TraceInfo
{