public override void PokeFrame(int frame, IController source) { base.PokeFrame(frame, source); LagLog.RemoveRange(frame, LagLog.Count - frame); StateManager.Invalidate(frame); }
public override void RecordFrame(int frame, IController source) { base.RecordFrame(frame, source); if (frame < LagLog.Count) { LagLog.RemoveRange(frame, LagLog.Count - frame); } LagLog.Add(Global.Emulator.IsLagFrame); StateManager.Invalidate(frame); StateManager.Capture(); }
public override void Truncate(int frame) { base.Truncate(frame); if (frame < LagLog.Count) { LagLog.RemoveRange(frame + 2, LagLog.Count - frame - 1); } StateManager.Invalidate(frame + 1); if (frame < _log.Count - 1) { Changes = true; } // TODO: Markers? What does taseditor do? }