does it work? who knows!
This commit is contained in:
parent
4bdbf9fa14
commit
8fb7d3ea9d
|
@ -57,10 +57,12 @@ namespace BizHawk.Emulation.Cores.Components.M6502
|
|||
return val;
|
||||
}
|
||||
|
||||
public bool AtStart { get { return opcode == VOP_Fetch1 || Microcode[opcode][mi] >= Uop.End; } }
|
||||
|
||||
public string TraceState()
|
||||
{
|
||||
// only disassemble when we're at the beginning of an opcode
|
||||
return State(opcode == VOP_Fetch1 || Microcode[opcode][mi] >= Uop.End);
|
||||
return State(AtStart);
|
||||
}
|
||||
|
||||
public const ushort NMIVector = 0xFFFA;
|
||||
|
|
|
@ -90,12 +90,10 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
|
||||
private void StepInto()
|
||||
{
|
||||
var size = opsize[Cpu.PeekMemory(Cpu.PC)];
|
||||
|
||||
for (int i = 0; i < size; i++)
|
||||
do
|
||||
{
|
||||
CycleAdvance();
|
||||
}
|
||||
} while (!Cpu.AtStart);
|
||||
}
|
||||
|
||||
//the opsize table is used to quickly grab the instruction sizes (in bytes)
|
||||
|
|
Loading…
Reference in New Issue