From 831621b864f378c954fdbd259f95dedd7fd35d35 Mon Sep 17 00:00:00 2001 From: adelikat Date: Tue, 14 Apr 2020 16:25:28 -0500 Subject: [PATCH] remove some unused code --- .../movie/bk2/Bk2Movie.InputLog.cs | 17 ----------------- .../tools/TAStudio/TAStudio.cs | 1 - BizHawk.Client.EmuHawk/tools/ToolFormBase.cs | 1 - 3 files changed, 19 deletions(-) diff --git a/BizHawk.Client.Common/movie/bk2/Bk2Movie.InputLog.cs b/BizHawk.Client.Common/movie/bk2/Bk2Movie.InputLog.cs index 21765ed51c..e377dc3235 100644 --- a/BizHawk.Client.Common/movie/bk2/Bk2Movie.InputLog.cs +++ b/BizHawk.Client.Common/movie/bk2/Bk2Movie.InputLog.cs @@ -298,22 +298,5 @@ namespace BizHawk.Client.Common writer.WriteLine(record); } } - - /// - /// Takes a log entry from a line in an input log, - /// If the log key differs from the system's, it will be converted - /// - /// a log entry line of text from the input log - /// a key used to describe the mnemonic values and positions in the log - private string ConvertLogEntryFromFile(string line, string logKey) - { - var adapter = new Bk2LogEntryGenerator(logKey).MovieControllerAdapter; - adapter.Definition = Global.MovieSession.MovieControllerAdapter.Definition; - adapter.SetControllersAsMnemonic(line); - - var lg = LogGeneratorInstance(); - lg.SetSource(adapter); - return lg.GenerateLogEntry(); - } } } diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs index 709fe241f7..a6b2bb5197 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs @@ -11,7 +11,6 @@ using BizHawk.Emulation.Common; using BizHawk.Client.Common; using BizHawk.Client.Common.MovieConversionExtensions; using BizHawk.Client.EmuHawk.ToolExtensions; -using BizHawk.Common.PathExtensions; using BizHawk.Emulation.Cores.Nintendo.N64; namespace BizHawk.Client.EmuHawk diff --git a/BizHawk.Client.EmuHawk/tools/ToolFormBase.cs b/BizHawk.Client.EmuHawk/tools/ToolFormBase.cs index 25ffe9c4bd..45f6654211 100644 --- a/BizHawk.Client.EmuHawk/tools/ToolFormBase.cs +++ b/BizHawk.Client.EmuHawk/tools/ToolFormBase.cs @@ -4,7 +4,6 @@ using System.IO; using System.Windows.Forms; using BizHawk.Client.Common; -using BizHawk.Common.PathExtensions; using BizHawk.Emulation.Common; namespace BizHawk.Client.EmuHawk