tastudio: apply autohold to appended frames.

needs current frame to be emulated with autohold already to pick up the pattern.
This commit is contained in:
feos 2015-07-13 22:44:17 +03:00
parent a2cb4373a9
commit 451fd779bc
1 changed files with 2 additions and 2 deletions

View File

@ -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;