/// <summary> /// Starts executing the macro program code. /// </summary> /// <param name="mme">Program code</param> /// <param name="state">Current GPU state</param> public void Execute(int[] mme, ShadowRamControl shadowCtrl, GpuState state, GpuState shadowState) { if (_executionPending) { _executionPending = false; _interpreter?.Execute(mme, Position, _argument, shadowCtrl, state, shadowState); } }
/// <summary> /// Starts executing the macro program code. /// </summary> /// <param name="mme">Program code</param> /// <param name="state">Current GPU state</param> public void Execute(int[] mme, GpuState state) { if (_executionPending) { _executionPending = false; _interpreter?.Execute(mme, Position, _argument, state); } }