public void Reset() { State.ClearState(); if (ROM != null) { State.LoadBinary(ROM); State.PC = Chip8State.ProgramStart; } }
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); } } }