lua - tastudio.loadbranch - use the already existing (and better) load branch method

This commit is contained in:
adelikat 2019-11-24 14:41:03 -06:00
parent 2aaae85c36
commit 8bbc2c75d0
2 changed files with 2 additions and 6 deletions

View File

@ -191,7 +191,7 @@ namespace BizHawk.Client.EmuHawk
};
}
public void LoadBranch(TasBranch branch)
private void LoadBranch(TasBranch branch)
{
if (Tastudio.Settings.OldControlSchemeForBranches && !Tastudio.TasPlaybackBox.RecordingMode)
{

View File

@ -140,11 +140,7 @@ namespace BizHawk.Client.EmuHawk
public void LoadBranchByIndex(int index)
{
if (index < CurrentTasMovie.BranchCount)
{
var branch = CurrentTasMovie.Branches[index];
BookMarkControl.LoadBranch(branch);
}
BookMarkControl.LoadBranchExternal(index);
}
private void AutosaveTimerEventProcessor(object sender, EventArgs e)