does it work? who knows!

This commit is contained in:
goyuken 2014-12-20 19:17:35 +00:00
parent 4bdbf9fa14
commit 8fb7d3ea9d
2 changed files with 5 additions and 5 deletions

View File

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

View File

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