示例#1
0
 public void Reset()
 {
     State.ClearState();
     if (ROM != null)
     {
         State.LoadBinary(ROM);
         State.PC = Chip8State.ProgramStart;
     }
 }
示例#2
0
 public void Reset()
 {
     State.ClearState();
     if (ROM != null)
     {
         State.LoadBinary(ROM);
         State.PC = Chip8State.ProgramStart;
         if (compiledFunction == null)
         {
             compiledFunction = new Chip8Sharp.JIT.JIT().JITROM(ROM, BP);
         }
     }
 }