Small speedup

This commit is contained in:
Adrian Conlon
2024-08-07 11:05:01 +01:00
parent 90c887d169
commit f2e0be5006

View File

@@ -168,11 +168,8 @@
private void Processor_RaisingSYNC(object? sender, EventArgs e)
{
// Everything needs this
this.executingAddress = this.processor.Bus.Address.Word;
this.executingInstruction = this.processor.Bus.Peek(this.executingAddress);
++this.instructionCounts[this.processor.Bus.Data];
++this.instructionCounts[this.executingInstruction = this.processor.Bus.Data];
}
private void Processor_ExecutedInstruction(object? sender, EventArgs e)