public override void RecordFrame(int frame, IController source) { if (frame != 0) { ChangeLog.AddGeneralUndo(frame - 1, frame - 1, "Record Frame: " + frame); } base.RecordFrame(frame, source); LagLog.RemoveFrom(frame); LagLog[frame] = Global.Emulator.AsInputPollable().IsLagFrame; if (IsRecording) { StateManager.Invalidate(frame + 1); } if (frame != 0) { ChangeLog.SetGeneralRedo(); } }
public override void RecordFrame(int frame, IController source) { if (frame != 0) { ChangeLog.AddGeneralUndo(frame, frame, "Record Frame: " + frame); } base.RecordFrame(frame, source); LagLog.RemoveFrom(frame); LagLog[frame] = Global.Emulator.AsInputPollable().IsLagFrame; if (!SupressGreenzonging) { StateManager.Capture(); } if (frame != 0) { ChangeLog.SetGeneralRedo(); } }