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