From 5e4983c93f18caf6a37851e2b68ac3ce6cb56f2f Mon Sep 17 00:00:00 2001 From: adelikat Date: Mon, 25 May 2020 16:47:23 -0500 Subject: [PATCH] TasMovie.RecordFrame() - duplicate desired base class logic instead of calling base, because base does some "VBAStyleLoadState" stuff that is very undesireable in tastudio --- src/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs b/src/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs index c41cbe16c3..1ce5a1a28d 100644 --- a/src/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs +++ b/src/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs @@ -16,7 +16,10 @@ namespace BizHawk.Client.Common ChangeLog.AddGeneralUndo(frame - 1, frame - 1, $"Record Frame: {frame}"); } - base.RecordFrame(frame, source); + var lg = LogGeneratorInstance(source); + SetFrameAt(frame, lg.GenerateLogEntry()); + + Changes = true; LagLog.RemoveFrom(frame); LagLog[frame] = _inputPollable.IsLagFrame;