TasMovie - a small simplification

This commit is contained in:
adelikat 2019-11-24 15:26:44 -06:00
parent 9c62ded4f5
commit 1c67066e13
1 changed files with 2 additions and 9 deletions

View File

@ -502,15 +502,8 @@ namespace BizHawk.Client.Common
Log?.Dispose();
Log = branch.InputLog.Clone();
if (divergentPoint.HasValue)
{
InvalidateAfter(divergentPoint.Value);
}
else
{
InvalidateAfter(branch.InputLog.Count);
}
InvalidateAfter(divergentPoint ?? branch.InputLog.Count);
if (BindMarkersToInput) // pretty critical not to erase them
{
Markers = branch.Markers;