From 451fd779bc1c49e66288d40e4962ea34812a2565 Mon Sep 17 00:00:00 2001 From: feos Date: Mon, 13 Jul 2015 22:44:17 +0300 Subject: [PATCH] tastudio: apply autohold to appended frames. needs current frame to be emulated with autohold already to pick up the pattern. --- BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs b/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs index 8f49fd7ae1..f72425d9d2 100644 --- a/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs +++ b/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs @@ -327,10 +327,10 @@ namespace BizHawk.Client.Common ChangeLog.AddGeneralUndo(oldLength, oldLength + numFrames - 1); var lg = LogGeneratorInstance(); - lg.SetSource(Global.MovieSession.MovieControllerInstance()); + lg.SetSource(Global.MovieOutputHardpoint); // account for autohold. needs autohold pattern to be already recorded in the current frame for (int i = 0; i < numFrames; i++) - _log.Add(lg.EmptyEntry); + _log.Add(lg.GenerateLogEntry()); Changes = true;