tastudio: latch autohold state for every manual movie length extension

finally fixes #534
This commit is contained in:
feos 2017-03-12 19:43:23 +03:00
parent 64665f0e82
commit 114274ac4d
1 changed files with 2 additions and 0 deletions

View File

@ -341,6 +341,8 @@ namespace BizHawk.Client.Common
int oldLength = InputLogLength;
ChangeLog.AddGeneralUndo(oldLength, oldLength + numFrames - 1);
Global.MovieSession.MovieControllerAdapter.LatchSticky();
var lg = LogGeneratorInstance();
lg.SetSource(Global.MovieOutputHardpoint); // account for autohold. needs autohold pattern to be already recorded in the current frame