protected virtual void OnErrorOccured(NESEventArgs e) { if (ErrorOccurred != null) { ErrorOccurred.Invoke(this, e); Execution.WaitOne(); } }
protected virtual void OnInstructionExecuted(NESEventArgs e) { if (InstructionExecuted != null) { InstructionExecuted.Invoke(this, e); Execution.WaitOne(); } }
protected virtual void OnLoopBeginning(NESEventArgs e) { if (LoopBeginning != null) { LoopBeginning.Invoke(this, e); Execution.WaitOne(); } }
private void Nes_ErrorOccurred(object sender, NESEventArgs e) { nesEventOccured.Set(); Debug(nes.CPU, nes.CPU.Memory.Memory, e.Message); }
private void Nes_LoopBeginning(object sender, NESEventArgs e) { nesEventOccured.Set(); Debug(nes.CPU, nes.CPU.Memory.Memory, e.Message); }